class CssInlineAsset 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
protected Package $pkg from  Asset
protected array $combinedAssetSourceFiles from  Asset

Methods

string
getOutputAssetType()

Get the resulting type of the asset (\Concrete\Core\Asset\AssetInterface::OUTPUTASSETTYPE_CSS, \Concrete\Core\Asset\AssetInterface::OUTPUTASSETTYPE_JAVASCRIPT or other values).

static Asset[]
process(Asset[] $assets)

No description

from  CssAsset
bool
assetSupportsMinification()

No description

from  Asset
bool
assetSupportsCombination()

No description

from  Asset
setAssetLocation(mixed $location)

No description

from  Asset
setAssetSupportsMinification(bool $minify)

No description

from  Asset
setAssetSupportsCombination(bool $combine)

No description

from  Asset
string
getAssetURL()

No description

from  Asset
string
getAssetHashKey()

Get a string that unambiguously identifies this asset.

getAssetPointer()

No description

from  Asset
string
getAssetPath()

No description

from  Asset
string
getAssetHandle()

No description

from  Asset
__construct(bool|string $assetHandle = false)

No description

from  Asset
string
getAssetFilename()

No description

from  Asset
setAssetVersion(string $version)

No description

from  Asset
setCombinedAssetSourceFiles(array $paths)

No description

from  Asset
string
getAssetVersion()

No description

from  Asset
setAssetPosition(string $position)

No description

from  Asset
setPackageObject(Package $pkg)

No description

from  Asset
setAssetURL(string $url)

No description

from  Asset
setAssetPath(string $path)

No description

from  Asset
hasAssetBeenMapped()

No description

from  Asset
string
getAssetURLPath()

No description

from  Asset
bool
isAssetLocal()

Is this asset a locally available file (accessible with the getAssetPath method)?

setAssetIsLocal(bool $isLocal)

No description

from  Asset
string
getAssetPosition()

No description

from  Asset
mapAssetLocation(string $path)

No description

from  Asset
string|null
getAssetContents()

Get the contents of the asset (if applicable).

static string|null
getAssetContentsByRoute(string $route)

No description

from  Asset
register($filename, $args, $pkg = false)

No description

from  Asset
getAssetDefaultPosition()

No description

from  CssAsset
string
getAssetType()

No description

static string
getRelativeOutputDirectory()

No description

from  CssAsset
static bool|string
getOutputDirectory()

No description

from  CssAsset
static string
changePaths(string $content, string $current_path, string $target_path)

No description

from  CssAsset
string
__toString()

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).

Return Value

string

static Asset[] process(Asset[] $assets)

No description

Parameters

Asset[] $assets

Return Value

Asset[]

bool assetSupportsMinification()

No description

Return Value

bool

bool assetSupportsCombination()

No description

Return Value

bool

setAssetLocation(mixed $location)

No description

Parameters

mixed $location

setAssetSupportsMinification(bool $minify)

No description

Parameters

bool $minify

setAssetSupportsCombination(bool $combine)

No description

Parameters

bool $combine

string getAssetURL()

No description

Return Value

string

string getAssetHashKey()

Get a string that unambiguously identifies this asset.

Return Value

string

getAssetPointer()

No description

string getAssetPath()

No description

Return Value

string

string getAssetHandle()

No description

Return Value

string

__construct(bool|string $assetHandle = false)

No description

Parameters

bool|string $assetHandle

string getAssetFilename()

No description

Return Value

string

setAssetVersion(string $version)

No description

Parameters

string $version

setCombinedAssetSourceFiles(array $paths)

No description

Parameters

array $paths

string getAssetVersion()

No description

Return Value

string

setAssetPosition(string $position)

No description

Parameters

string $position

setPackageObject(Package $pkg)

No description

Parameters

Package $pkg

setAssetURL(string $url)

No description

Parameters

string $url

setAssetPath(string $path)

No description

Parameters

string $path

hasAssetBeenMapped()

No description

string getAssetURLPath()

No description

Return Value

string

bool isAssetLocal()

Is this asset a locally available file (accessible with the getAssetPath method)?

Return Value

bool

setAssetIsLocal(bool $isLocal)

No description

Parameters

bool $isLocal

string getAssetPosition()

No description

Return Value

string

mapAssetLocation(string $path)

No description

Parameters

string $path

string|null getAssetContents()

Get the contents of the asset (if applicable).

Return Value

string|null

static protected string|null getAssetContentsByRoute(string $route)

No description

Parameters

string $route

Return Value

string|null

register($filename, $args, $pkg = false)

No description

Parameters

$filename
$args
$pkg

getAssetDefaultPosition()

No description

string getAssetType()

No description

Return Value

string

static protected string getRelativeOutputDirectory()

No description

Return Value

string

static protected bool|string getOutputDirectory()

No description

Return Value

bool|string

static string changePaths(string $content, string $current_path, string $target_path)

No description

Parameters

string $content
string $current_path
string $target_path

Return Value

string

string __toString()

No description

Return Value

string