PHP 클래스 Lime\Helper\Assets

상속: extends Lime\Helper
파일 보기 프로젝트 열기: sjardim/Hugopit

공개 메소드들

메소드 설명
compile ( Array $assets, String $type ) : String Compile assets into one file
script ( Array $assets, String $name, String $path = "", Float $cache, boolean $version = false ) : String Compile scripts and return in a script tag
style ( Array $assets, String $name, String $path = "", Float $cache, boolean $version = false ) : String Compile styles and return in a link tag
style_and_script ( Array $assets, String $name, String $path = "", Float $cache, boolean $version = false ) : void Echo tags for scripts and styles

메소드 상세

compile() 공개 메소드

Compile assets into one file
public compile ( Array $assets, String $type ) : String
$assets Array
$type String js or css
리턴 String

script() 공개 메소드

Compile scripts and return in a script tag
public script ( Array $assets, String $name, String $path = "", Float $cache, boolean $version = false ) : String
$assets Array
$name String
$path String
$cache Float
$version boolean
리턴 String

style() 공개 메소드

Compile styles and return in a link tag
public style ( Array $assets, String $name, String $path = "", Float $cache, boolean $version = false ) : String
$assets Array
$name String
$path String
$cache Float
$version boolean
리턴 String

style_and_script() 공개 메소드

Echo tags for scripts and styles
public style_and_script ( Array $assets, String $name, String $path = "", Float $cache, boolean $version = false ) : void
$assets Array
$name String
$path String
$cache Float
$version boolean
리턴 void