Méthode | Description | |
---|---|---|
addJquery ( ) | Add jQuery to the output. | |
disableJquery ( ) | Don't add jQuery to the output. | |
extendAssetServices ( ) | Call this in register method. | |
getBaseDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
getContainer ( ) : Pimple | ||
getName ( ) : string | ||
getWebDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
registerAssets ( ) : Bolt\Asset\AssetInterface[] | Returns a list of assets to register. Assets can be a file, snippet, or widget. |
Méthode | Description | |
---|---|---|
addAsset ( Bolt\Asset\AssetInterface $asset ) | Add an file, snippet or widget asset to the render queue. | |
isAbsoluteUrl ( string $url ) : boolean | ||
loadAssets ( ) | Merges assets returned from registerAssets() to our list. | |
normalizeAsset ( Bolt\Asset\File\FileAssetInterface $asset ) | Normalizes the path and package name of the asset file. |
final protected extendAssetServices ( ) |
abstract protected getBaseDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
Résultat | Bolt\Filesystem\Handler\DirectoryInterface |
abstract protected getContainer ( ) : Pimple | ||
Résultat | Pimple |
abstract protected getWebDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
Résultat | Bolt\Filesystem\Handler\DirectoryInterface |
protected registerAssets ( ) : Bolt\Asset\AssetInterface[] | ||
Résultat | Bolt\Asset\AssetInterface[] |