PHP Class Xpressengine\Presenter\Html\Tags\IconFile

Author: XE Developers ([email protected])
Inheritance: use trait AttributeTrait, use trait EmptyStringTrait
Show file Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$file 해당 인스턴스에 포함된 파일들의 파일명 목록
$fileList IconFile[] $fileList[] = IconFile Instance
$isAppleTouchIcon boolean
$loaded boolean

Public Methods

Method Description
__construct ( string $file ) 생성자. 파일경로를 전달받는다.
appleTouchIcon ( ) apple touch icon
init ( array $fileList = [] ) : void init 전역 메소드이며, javascript 파일의 목록을 관리하기 위해 필요한 초기 작업으로 sorter와 file list를 설정한다.
load ( ) load
output ( ) : string 로드된 JS파일 목록을 출력한다.
render ( ) : string render
sizes ( string $size ) sizes
type ( string $type ) type

Protected Methods

Method Description
asset ( string $file ) : string asset

Method Details

__construct() public method

단 하나의 파일이나 배열형식의 다중 파일을 전달 받을 수 있다.
public __construct ( string $file )
$file string 파일경로

appleTouchIcon() public method

apple touch icon
public appleTouchIcon ( )

asset() protected method

asset
protected asset ( string $file ) : string
$file string file path
return string

init() public static method

init 전역 메소드이며, javascript 파일의 목록을 관리하기 위해 필요한 초기 작업으로 sorter와 file list를 설정한다.
public static init ( array $fileList = [] ) : void
$fileList array js file의 목록
return void

load() public method

load
public load ( )

output() public static method

로드된 JS파일 목록을 출력한다.
public static output ( ) : string
return string

render() public method

render
public render ( ) : string
return string

sizes() public method

sizes
public sizes ( string $size )
$size string size

type() public method

type
public type ( string $type )
$type string type

Property Details

$file protected property

해당 인스턴스에 포함된 파일들의 파일명 목록
protected $file

$fileList protected static property

$fileList[] = IconFile Instance
protected static IconFile[],Xpressengine\Presenter\Html\Tags $fileList
return IconFile[]

$isAppleTouchIcon protected property

protected bool $isAppleTouchIcon
return boolean

$loaded protected property

protected bool $loaded
return boolean