PHP Class Jarves\Configuration\Asset

Paths are relative to `
Inheritance: extends Model
显示文件 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_oe property

protected $attributes

$compression protected_oe property

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

$content protected_oe property

protected string $content
return string

$nodeValueVar protected_oe property

protected $nodeValueVar

$priority protected_oe property

protected int $priority
return integer

$src protected_oe property

protected string $src
return string

$type protected_oe property

protected string $type
return string