Property | Type | Description | |
---|---|---|---|
$app | string | Current application name. |
Property | Type | Description | |
---|---|---|---|
$_data | array | URI/filesystem path values. | |
$_dirname | string | The default directory name for this element type. | |
$_name | string | Element name. | |
$_opts | array | Options. |
Method | Description | |
---|---|---|
__construct ( string $name = '', array $options = [] ) | Constructor. | |
__get ( $name ) | ||
__toString ( ) : string | String representation of this object. | |
fromUri ( string $uri ) : Horde_Themes_Element | Convert a URI into a Horde_Themes_Element object. |
public __construct ( string $name = '', array $options = [] ) | ||
$name | string | The element name. If null, will return the element directory. |
$options | array | Additional options: - app: (string) Use this application instead of the current app. - data: (array) Contains 2 elements: 'fs' - filesystem path, 'uri' - the element URI. If set, use as the data values instead of auto determining. - nohorde: (boolean) If true, do not fallback to horde for element. - noview: (boolean) If true, do not load images from view-specific directories. (Since 2.4.0) - theme: (string) Use this theme instead of the Horde default. - uri: (string) Use this as the URI value. |
public __toString ( ) : string | ||
return | string | The relative URI. |
protected string $_dirname | ||
return | string |