PHP Interface FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface

Afficher le fichier Open project: fluidtypo3/vhs Interface Usage Examples

Méthodes publiques

Méthode Description
assertAddNameCommentWithChunk ( ) : boolean Returns TRUE if settings specify that the name of each Asset should be placed above the built content when placed in merged Asset cache files.
assertAllowedInFooter ( ) : boolean
assertDebugEnabled ( ) : boolean Returns TRUE if the current Asset should be debugged as commanded by settings in TypoScript and/or ViewHelper attributes.
assertFluidEnabled ( ) : boolean Returns TRUE if settings specify that the source of this Asset should be rendered as if it were a Fluid template, using variables from the "arguments" attribute
assertHasBeenRemoved ( ) : boolean
build ( ) : mixed Build this asset. Override this method in the specific implementation of an Asset in order to:
getAssetSettings ( ) : array
getDebugInformation ( ) : array Allows public access to debug this particular Asset instance later, when including the Asset in the page.
getDependencies ( ) : array
getName ( ) : string
getSettings ( ) : array Returns the settings used by this particular Asset during inclusion. Public access allows later inspection of the TypoScript values which were applied to the Asset.
getType ( ) : string
getVariables ( ) : array
render ( ) : void Render method

Method Details

assertAddNameCommentWithChunk() public méthode

Returns TRUE if settings specify that the name of each Asset should be placed above the built content when placed in merged Asset cache files.

assertAllowedInFooter() public méthode

public assertAllowedInFooter ( ) : boolean
Résultat boolean

assertDebugEnabled() public méthode

Returns TRUE if the current Asset should be debugged as commanded by settings in TypoScript and/or ViewHelper attributes.
public assertDebugEnabled ( ) : boolean
Résultat boolean

assertFluidEnabled() public méthode

Returns TRUE if settings specify that the source of this Asset should be rendered as if it were a Fluid template, using variables from the "arguments" attribute
public assertFluidEnabled ( ) : boolean
Résultat boolean

assertHasBeenRemoved() public méthode

public assertHasBeenRemoved ( ) : boolean
Résultat boolean

build() public méthode

- if necessary compile the Asset (LESS, SASS, CoffeeScript etc) - make a final rendering decision based on arguments Note that within this function the ViewHelper and TemplateVariable Containers are not dependable, you cannot use the ControllerContext and RenderingContext and you should therefore also never call renderChildren from within this function. Anything else goes; CLI commands to build, caching implementations - you name it.
public build ( ) : mixed
Résultat mixed

getAssetSettings() public méthode

public getAssetSettings ( ) : array
Résultat array

getDebugInformation() public méthode

Allows public access to debug this particular Asset instance later, when including the Asset in the page.
public getDebugInformation ( ) : array
Résultat array

getDependencies() public méthode

public getDependencies ( ) : array
Résultat array

getName() public méthode

public getName ( ) : string
Résultat string

getSettings() public méthode

Returns the settings used by this particular Asset during inclusion. Public access allows later inspection of the TypoScript values which were applied to the Asset.
public getSettings ( ) : array
Résultat array

getType() public méthode

public getType ( ) : string
Résultat string

getVariables() public méthode

public getVariables ( ) : array
Résultat array

render() public méthode

Render method
public render ( ) : void
Résultat void