Html
class Html
Html
Traits
LocatableTrait
EmptyStringTrait
Properties
| protected string | $location | from LocatableTrait | |
| static protected Sorter | $sorter | from SortTrait | |
| protected array | $befores | from SortTrait | |
| protected array | $afters | from SortTrait | |
| static protected Html[] | $htmlList | ||
| static protected string[] | $unloaded | ||
| static protected int | $aliasSeq | ||
| protected string | $html | ||
| protected int|null | $alias | ||
| protected string|callable | $content | ||
| protected bool | $loaded |
Methods
static string
output(string $location)
주어진 위치에 해당하는 로드된 JS파일 목록을 출력한다.
static void
__construct(string|array|null $alias = null)
생성자. 태그 별칭을 전달받는다.
$this
content(string $content)
content
$this
load()
load
void
unload()
unload
string
render()
render
string
resolveKey(string $alias)
key resolver
Details
in LocatableTrait at line 37
$this
appendTo(string $location)
append to
in LocatableTrait at line 50
$this
prependTo(string $location)
prepend to
in EmptyStringTrait at line 30
string
__toString()
to string
in SortTrait at line 50
$this
before(string $befores)
before
in SortTrait at line 70
$this
after(string $afters)
after
at line 78
static string
output(string $location)
주어진 위치에 해당하는 로드된 JS파일 목록을 출력한다.
at line 115
static void
init(array $htmlList = array(), Sorter $sorter = null)
init 전역 메소드이며, javascript 파일의 목록을 관리하기 위해 필요한 초기 작업으로 sorter와 file list를 설정한다.
at line 126
__construct(string|array|null $alias = null)
생성자. 태그 별칭을 전달받는다.
at line 141
$this
content(string $content)
content
at line 152
$this
load()
load
at line 201
void
unload()
unload
at line 211
string
render()
render
at line 229
protected string
resolveKey(string $alias)
key resolver