\Horde_Themes_Cache

This class is responsible for parsing/building theme elements and then caching these results.

Summary

Methods
Properties
Constants
__construct()
build()
get()
getAll()
getCacheId()
serialize()
unserialize()
$changed
HORDE_DEFAULT
APP_DEFAULT
HORDE_THEME
APP_THEME
VIEW
_build()
_get()
_getOutput()
$_app
$_cacheid
$_complete
$_data
$_theme
N/A
No private methods found
No private properties found
N/A

Constants

HORDE_DEFAULT

HORDE_DEFAULT

APP_DEFAULT

APP_DEFAULT

HORDE_THEME

HORDE_THEME

APP_THEME

APP_THEME

VIEW

VIEW

Properties

$changed

$changed : boolean

Has the data changed?

Type

boolean

$_app

$_app : string

Application name.

Type

string

$_cacheid

$_cacheid : string

The cache ID.

Type

string

$_complete

$_complete : boolean

Is this a complete representation of the theme?

Type

boolean

$_data

$_data : array

Theme data.

Type

array

$_theme

$_theme : string

Theme name.

Type

string

Methods

__construct()

__construct(string  $app, string  $theme) 

Constructor.

Parameters

string $app

The application name.

string $theme

The theme name.

build()

build() : array

Build the entire theme data structure.

Returns

array —

The list of theme files.

get()

get(  $item,   $mask) 

Parameters

$item
$mask

getAll()

getAll(  $item,   $mask) 

Parameters

$item
$mask

getCacheId()

getCacheId() 

serialize()

serialize() 

unserialize()

unserialize(  $data) 

Parameters

$data

_build()

_build(string  $app, string  $theme, integer  $mask) 

Add theme data from an app/theme combo.

Parameters

string $app

The application name.

string $theme

The theme name.

integer $mask

Mask for the app/theme combo.

_get()

_get(  $item) 

Parameters

$item

_getOutput()

_getOutput(  $app,   $theme,   $item) 

Parameters

$app
$theme
$item