PHP Class Horde_Themes_Cache, horde

Author: Michael Slusarz ([email protected])
Inheritance: implements Serializable
Mostra file Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$changed boolean Has the data changed?

Protected Properties

Property Type Description
$_app string Application name.
$_cacheid string The cache ID.
$_complete boolean Is this a complete representation of the theme?
$_data array Theme data.
$_theme string Theme name.

Public Methods

Method Description
__construct ( string $app, string $theme ) Constructor.
build ( ) : array Build the entire theme data structure.
get ( $item, $mask )
getAll ( $item, $mask )
getCacheId ( )
serialize ( )
unserialize ( $data )

Protected Methods

Method Description
_build ( string $app, string $theme, integer $mask ) Add theme data from an app/theme combo.
_get ( $item )
_getOutput ( $app, $theme, $item )

Method Details

__construct() public method

Constructor.
public __construct ( string $app, string $theme )
$app string The application name.
$theme string The theme name.

_build() protected method

Add theme data from an app/theme combo.
protected _build ( string $app, string $theme, integer $mask )
$app string The application name.
$theme string The theme name.
$mask integer Mask for the app/theme combo.

_get() protected method

protected _get ( $item )

_getOutput() protected method

protected _getOutput ( $app, $theme, $item )

build() public method

Build the entire theme data structure.
public build ( ) : array
return array The list of theme files.

get() public method

public get ( $item, $mask )

getAll() public method

public getAll ( $item, $mask )

getCacheId() public method

public getCacheId ( )

serialize() public method

public serialize ( )

unserialize() public method

public unserialize ( $data )

Property Details

$_app protected_oe property

Application name.
protected string $_app
return string

$_cacheid protected_oe property

The cache ID.
protected string $_cacheid
return string

$_complete protected_oe property

Is this a complete representation of the theme?
protected bool $_complete
return boolean

$_data protected_oe property

Theme data.
protected array $_data
return array

$_theme protected_oe property

Theme name.
protected string $_theme
return string

$changed public_oe property

Has the data changed?
public bool $changed
return boolean