IconFile
class IconFile
IconFile
Traits
AttributeTrait
EmptyStringTrait
Properties
protected | $attributes | from AttributeTrait | |
static protected IconFile[] | $fileList | ||
protected string | $file | ||
protected bool | $isAppleTouchIcon | ||
protected bool | $loaded |
Methods
static string
output()
로드된 JS파일 목록을 출력한다.
static void
init(array $fileList = array())
init 전역 메소드이며, javascript 파일의 목록을 관리하기 위해 필요한 초기 작업으로 sorter와 file list를 설정한다.
__construct(string $file)
생성자. 파일경로를 전달받는다.
$this
type(string $type)
type
$this
appleTouchIcon()
apple touch icon
$this
sizes(string $size)
sizes
$this
load()
load
string
render()
render
string
asset(string $file)
asset
Details
in AttributeTrait at line 39
$this
attr(string $name, string $value)
태그에 속성을 지정한다.
in EmptyStringTrait at line 30
string
__toString()
to string
at line 57
static string
output()
로드된 JS파일 목록을 출력한다.
at line 93
static void
init(array $fileList = array())
init 전역 메소드이며, javascript 파일의 목록을 관리하기 위해 필요한 초기 작업으로 sorter와 file list를 설정한다.
at line 104
__construct(string $file)
생성자. 파일경로를 전달받는다.
단 하나의 파일이나 배열형식의 다중 파일을 전달 받을 수 있다.
at line 121
$this
type(string $type)
type
at line 132
$this
appleTouchIcon()
apple touch icon
at line 146
$this
sizes(string $size)
sizes
at line 160
$this
load()
load
at line 187
string
render()
render
at line 215
protected string
asset(string $file)
asset