PHP Интерфейс FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

assertAddNameCommentWithChunk() публичный Метод

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.
public assertAddNameCommentWithChunk ( ) : boolean
Результат boolean

assertAllowedInFooter() публичный Метод

public assertAllowedInFooter ( ) : boolean
Результат boolean

assertDebugEnabled() публичный Метод

Returns TRUE if the current Asset should be debugged as commanded by settings in TypoScript and/or ViewHelper attributes.
public assertDebugEnabled ( ) : boolean
Результат boolean

assertFluidEnabled() публичный Метод

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
Результат boolean

assertHasBeenRemoved() публичный Метод

public assertHasBeenRemoved ( ) : boolean
Результат boolean

build() публичный Метод

- 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
Результат mixed

getAssetSettings() публичный Метод

public getAssetSettings ( ) : array
Результат array

getDebugInformation() публичный Метод

Allows public access to debug this particular Asset instance later, when including the Asset in the page.
public getDebugInformation ( ) : array
Результат array

getDependencies() публичный Метод

public getDependencies ( ) : array
Результат array

getName() публичный Метод

public getName ( ) : string
Результат string

getSettings() публичный Метод

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
Результат array

getType() публичный Метод

public getType ( ) : string
Результат string

getVariables() публичный Метод

public getVariables ( ) : array
Результат array

render() публичный Метод

Render method
public render ( ) : void
Результат void