CssLocalizedAsset
class CssLocalizedAsset extends CssAsset (View source)
Constants
ASSET_POSITION_HEADER |
|
ASSET_POSITION_FOOTER |
|
Properties
protected string | $location | from Asset | |
protected bool | $assetHasBeenMapped | from Asset | |
protected string | $assetVersion | from Asset | |
protected string | $assetHandle | from Asset | |
protected bool | $local | from Asset | |
protected string | $filename | from Asset | |
protected string | $assetURL | from Asset | |
protected string | $assetPath | from Asset | |
protected bool | $assetSupportsMinification | ||
protected bool | $assetSupportsCombination | from CssAsset | |
protected Package | $pkg | from Asset | |
protected array | $combinedAssetSourceFiles | from Asset |
Methods
Get the resulting type of the asset (\Concrete\Core\Asset\AssetInterface::OUTPUTASSETTYPE_CSS, \Concrete\Core\Asset\AssetInterface::OUTPUTASSETTYPE_JAVASCRIPT or other values).
Get the URL of this asset.
Get a string that unambiguously identifies this asset.
Is this asset a locally available file (accessible with the getAssetPath method)?
Get the contents of the asset (if applicable).
No description
No description
Details
string
getOutputAssetType()
Get the resulting type of the asset (\Concrete\Core\Asset\AssetInterface::OUTPUTASSETTYPE_CSS, \Concrete\Core\Asset\AssetInterface::OUTPUTASSETTYPE_JAVASCRIPT or other values).
in
Asset at line 94
bool
assetSupportsMinification()
No description
in
Asset at line 102
bool
assetSupportsCombination()
No description
in
Asset at line 110
setAssetLocation(mixed $location)
No description
in
Asset at line 118
setAssetSupportsMinification(bool $minify)
No description
in
Asset at line 126
setAssetSupportsCombination(bool $combine)
No description
string
getAssetURL()
Get the URL of this asset.
string
getAssetHashKey()
Get a string that unambiguously identifies this asset.
in
Asset at line 169
getAssetPointer()
No description
in
Asset at line 179
string
getAssetPath()
No description
in
Asset at line 191
string
getAssetHandle()
No description
in
Asset at line 199
__construct(bool|string $assetHandle = false)
No description
in
Asset at line 208
string
getAssetFilename()
No description
in
Asset at line 216
setAssetVersion(string $version)
No description
in
Asset at line 224
setCombinedAssetSourceFiles(array $paths)
No description
in
Asset at line 232
string
getAssetVersion()
No description
in
Asset at line 240
setAssetPosition(string $position)
No description
in
Asset at line 248
setPackageObject(Package $pkg)
No description
in
Asset at line 256
setAssetURL(string $url)
No description
in
Asset at line 265
setAssetPath(string $path)
No description
in
Asset at line 271
hasAssetBeenMapped()
No description
in
Asset at line 279
string
getAssetURLPath()
No description
bool
isAssetLocal()
Is this asset a locally available file (accessible with the getAssetPath method)?
in
Asset at line 295
setAssetIsLocal(bool $isLocal)
No description
in
Asset at line 303
string
getAssetPosition()
No description
in
Asset at line 311
mapAssetLocation(string $path)
No description
string|null
getAssetContents()
Get the contents of the asset (if applicable).
in
Asset at line 342
static protected string|null
getAssetContentsByRoute(string $route)
No description
in
Asset at line 402
register($filename, $args, $pkg = false)
No description
getAssetDefaultPosition()
No description
string
getAssetType()
No description
static protected string
getRelativeOutputDirectory()
No description
static protected bool|string
getOutputDirectory()
No description
static string
changePaths(string $content, string $current_path, string $target_path)
No description
__toString()
No description