Свойство | Тип | Описание | |
---|---|---|---|
$cacheCleared | boolean | ||
$cachedDependencies | array | ||
$configurationManager | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | ||
$objectManager | TYPO3\CMS\Extbase\Object\ObjectManagerInterface | ||
$settingsCache | array | ||
$typoScriptAssetsBuilt | boolean |
Метод | Описание | |
---|---|---|
buildAll ( array $parameters, object $caller, boolean $cached = true ) : void | ||
buildAllUncached ( array $parameters, object $caller ) : void | ||
clearCacheCommand ( array $parameters ) : void | ||
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. | |
injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void | ||
injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager ) : void | ||
usePageCache ( object $caller, boolean $shouldUsePageCache ) : boolean |
Метод | Описание | |
---|---|---|
assertAssetAllowedInFooter ( mixed $asset ) : boolean | ||
buildAsset ( mixed $asset ) : string | ||
buildAssetsChunk ( array $assets ) : string | ||
copyReferencedFilesAndReplacePaths ( string $contents, string $regex, string $originalDirectory, string $wrap = '|' ) : string | Finds and replaces all URLs by using a given regex | |
detectAndCopyFileReferences ( string $contents, string $originalDirectory ) : string | Fixes the relative paths inside of url() references in CSS files | |
extractAssetContent ( mixed $asset ) : string | ||
extractAssetSettings ( mixed $asset ) : array | ||
generateTagForAssetType ( string $type, string $content, string $file = null, string $integrity = null ) : string | ||
getFileIntegrity ( $file ) : string | ||
insertAssetsAtMarker ( string $markerName, mixed $assets ) : void | ||
manipulateAssetsByTypoScriptSettings ( array $assets ) : array | ||
mergeArrays ( $array1, $array2 ) : array | ||
placeAssetsInHeaderAndFooter ( FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] $assets, boolean $cached ) : void | ||
prefixPath ( string $fileRelativePathAndFilename ) : string | Prefix a path according to "absRefPrefix" TS configuration. | |
renderAssetAsFluidTemplate ( mixed $asset ) : string | ||
sortAssetsByDependency ( FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] $assets ) : FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] | ||
writeCachedMergedFileAndReturnTag ( FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] $assets, string $type ) : string | ||
writeFile ( string $file, string $contents ) |
protected buildAsset ( mixed $asset ) : string | ||
$asset | mixed | An Asset ViewHelper instance or an array containing an Asset definition |
Результат | string |
protected buildAssetsChunk ( array $assets ) : string | ||
$assets | array | |
Результат | string |
public clearCacheCommand ( array $parameters ) : void | ||
$parameters | array | |
Результат | void |
protected copyReferencedFilesAndReplacePaths ( string $contents, string $regex, string $originalDirectory, string $wrap = '|' ) : string | ||
$contents | string | Data to process |
$regex | string | Regex used to find URLs in content |
$originalDirectory | string | Original location to CSS file, if file based. |
$wrap | string | Wrap around replaced values |
Результат | string | Processed data |
protected extractAssetContent ( mixed $asset ) : string | ||
$asset | mixed | |
Результат | string |
protected extractAssetSettings ( mixed $asset ) : array | ||
$asset | mixed | An Asset ViewHelper instance or an array containing an Asset definition |
Результат | array |
protected getFileIntegrity ( $file ) : string | ||
$file | ||
Результат | string |
public getSettings ( ) : array | ||
Результат | array |
public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void | ||
$configurationManager | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface | |
Результат | void |
public injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | TYPO3\CMS\Extbase\Object\ObjectManagerInterface | |
Результат | void |
protected manipulateAssetsByTypoScriptSettings ( array $assets ) : array | ||
$assets | array | |
Результат | array |
protected mergeArrays ( $array1, $array2 ) : array | ||
$array1 | ||
$array2 | ||
Результат | array |
protected prefixPath ( string $fileRelativePathAndFilename ) : string | ||
$fileRelativePathAndFilename | string | |
Результат | string |
protected renderAssetAsFluidTemplate ( mixed $asset ) : string | ||
$asset | mixed | |
Результат | string |
protected sortAssetsByDependency ( FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] $assets ) : FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] | ||
$assets | FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] | |
Результат | FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] |
protected writeCachedMergedFileAndReturnTag ( FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] $assets, string $type ) : string | ||
$assets | FluidTYPO3\Vhs\ViewHelpers\Asset\AssetInterface[] | |
$type | string | |
Результат | string |
protected static array $cachedDependencies | ||
Результат | array |
protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager | ||
Результат | TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface |
protected ObjectManagerInterface,TYPO3\CMS\Extbase\Object $objectManager | ||
Результат | TYPO3\CMS\Extbase\Object\ObjectManagerInterface |
protected static array $settingsCache | ||
Результат | array |
protected static bool $typoScriptAssetsBuilt | ||
Результат | boolean |