[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 151 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
AssetExtension:: (7 methods):
__construct()
getFunctions()
getAssetUrl()
getAssetVersion()
getAssetsVersion()
getLegacyAssetUrl()
getName()
Class: AssetExtension - X-Ref
Twig extension for the Symfony Asset component.__construct(Packages $packages, HttpFoundationExtension $foundationExtension = null) X-Ref |
Passing an HttpFoundationExtension instance as a second argument must not be relied on as it's only there to maintain BC with older Symfony version. It will be removed in 3.0. |
getFunctions() X-Ref |
{@inheritdoc} |
getAssetUrl($path, $packageName = null, $absolute = false, $version = null) X-Ref |
Returns the public url/path of an asset. If the package used to generate the path is an instance of UrlPackage, you will always get a URL and not a path. param: string $path A public path param: string $packageName The name of the asset package to use return: string The public path of the asset |
getAssetVersion($path, $packageName = null) X-Ref |
Returns the version of an asset. param: string $path A public path param: string $packageName The name of the asset package to use return: string The asset version |
getAssetsVersion($packageName = null) X-Ref |
No description |
getLegacyAssetUrl($path, $packageName = null, $absolute = false, $version = null) X-Ref |
No description |
getName() X-Ref |
Returns the name of the extension. return: string The extension name |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |