PHP Class Jarves\Configuration\Asset

Paths are relative to `
Inheritance: extends Model
Show file Open project: jarves/jarves Class Usage Examples

Protected Properties

Property Type Description
$attributes
$compression boolean If the asset can be compressed with other equal files (js/css compression)
$content string
$nodeValueVar
$priority integer
$src string
$type string

Public Methods

Method Description
getAssetInfo ( ) : AssetInfo
getCompression ( ) : boolean
getContent ( ) : string
getPriority ( ) : integer
getSrc ( ) : string
getType ( ) : string
setCompression ( boolean $compression )
setContent ( string $content )
setPriority ( integer $priority )
setSrc ( string $src )
setType ( string $type )

Method Details

getAssetInfo() public method

public getAssetInfo ( ) : AssetInfo
return Jarves\AssetHandler\AssetInfo

getCompression() public method

public getCompression ( ) : boolean
return boolean

getContent() public method

public getContent ( ) : string
return string

getPriority() public method

public getPriority ( ) : integer
return integer

getSrc() public method

public getSrc ( ) : string
return string

getType() public method

public getType ( ) : string
return string

setCompression() public method

public setCompression ( boolean $compression )
$compression boolean

setContent() public method

public setContent ( string $content )
$content string

setPriority() public method

public setPriority ( integer $priority )
$priority integer

setSrc() public method

public setSrc ( string $src )
$src string

setType() public method

public setType ( string $type )
$type string

Property Details

$attributes protected property

protected $attributes

$compression protected property

If the asset can be compressed with other equal files (js/css compression)
protected bool $compression
return boolean

$content protected property

protected string $content
return string

$nodeValueVar protected property

protected $nodeValueVar

$priority protected property

protected int $priority
return integer

$src protected property

protected string $src
return string

$type protected property

protected string $type
return string