PHP Class Ip\Internal\PageAssets

ファイルを表示 Open project: impresspages/impresspages

Public Methods

Method Description
addCss ( $file, $attributes = [], $stage = 50, $cacheFix = true )
addJavascript ( $file, $attributes = [], $stage = 50, $cacheFix = true )
addJavascriptContent ( $key, $javascript, $stage = 50 )
addJavascriptVariable ( $name, $value )
generateHead ( )
generateJavascript ( )
getCss ( )
getJavascript ( )
getJavascriptVariables ( )
removeAllCss ( )
removeAllJs ( )
removeAllJsVariables ( )
removeCss ( $file )
removeJavascript ( $file )
removeJavascriptContent ( $key )
removeJavascriptVariable ( $name )

Protected Methods

Method Description
getCacheVersion ( )
getCurrentRevision ( )

Method Details

addCss() public method

public addCss ( $file, $attributes = [], $stage = 50, $cacheFix = true )

addJavascript() public method

public addJavascript ( $file, $attributes = [], $stage = 50, $cacheFix = true )

addJavascriptContent() public method

public addJavascriptContent ( $key, $javascript, $stage = 50 )

addJavascriptVariable() public method

public addJavascriptVariable ( $name, $value )

generateHead() public method

public generateHead ( )

generateJavascript() public method

public generateJavascript ( )

getCacheVersion() protected method

protected getCacheVersion ( )

getCss() public method

public getCss ( )

getCurrentRevision() protected method

protected getCurrentRevision ( )

getJavascript() public method

public getJavascript ( )

getJavascriptVariables() public method

removeAllCss() public method

public removeAllCss ( )

removeAllJs() public method

public removeAllJs ( )

removeAllJsVariables() public method

removeCss() public method

public removeCss ( $file )

removeJavascript() public method

public removeJavascript ( $file )

removeJavascriptContent() public method

public removeJavascriptContent ( $key )

removeJavascriptVariable() public method

public removeJavascriptVariable ( $name )