PHP Class Jarves\Configuration\Theme

Inheritance: extends Model
Datei anzeigen Open project: jarves/jarves Class Usage Examples

Protected Properties

Property Type Description
$attributes
$contents ThemeContent[]
$doctype string Can be overwritten by ThemeLayout::$docType.
$elementMap
$id string
$label string
$layouts ThemeLayout[]
$navigations ThemeNavigation[]
$options Field[]

Public Methods

Method Description
getContents ( boolean $orCreate = false ) : ThemeContent[]
getDoctype ( ) : string
getId ( ) : string
getLabel ( ) : string
getLayoutByKey ( string $key ) : ThemeLayout | null
getLayouts ( ) : ThemeLayout[]
getNavigations ( ) : ThemeNavigation[]
getOptions ( ) : Field[]
setContents ( array $contents = null )
setDoctype ( string $doctype )
setId ( string $id )
setLabel ( string $label )
setLayouts ( array $layouts = null )
setNavigations ( array $navigations = null )
setOptions ( array $options = null )

Method Details

getContents() public method

public getContents ( boolean $orCreate = false ) : ThemeContent[]
$orCreate boolean creates the value of not exists.
return ThemeContent[]

getDoctype() public method

public getDoctype ( ) : string
return string

getId() public method

public getId ( ) : string
return string

getLabel() public method

public getLabel ( ) : string
return string

getLayoutByKey() public method

public getLayoutByKey ( string $key ) : ThemeLayout | null
$key string
return ThemeLayout | null

getLayouts() public method

public getLayouts ( ) : ThemeLayout[]
return ThemeLayout[]

getNavigations() public method

public getNavigations ( ) : ThemeNavigation[]
return ThemeNavigation[]

getOptions() public method

public getOptions ( ) : Field[]
return Field[]

setContents() public method

public setContents ( array $contents = null )
$contents array

setDoctype() public method

public setDoctype ( string $doctype )
$doctype string

setId() public method

public setId ( string $id )
$id string

setLabel() public method

public setLabel ( string $label )
$label string

setLayouts() public method

public setLayouts ( array $layouts = null )
$layouts array

setNavigations() public method

public setNavigations ( array $navigations = null )
$navigations array

setOptions() public method

public setOptions ( array $options = null )
$options array

Property Details

$attributes protected_oe property

protected $attributes

$contents protected_oe property

protected ThemeContent[],Jarves\Configuration $contents
return ThemeContent[]

$doctype protected_oe property

Can be overwritten by ThemeLayout::$docType.
protected string $doctype
return string

$elementMap protected_oe property

protected $elementMap

$id protected_oe property

protected string $id
return string

$label protected_oe property

protected string $label
return string

$layouts protected_oe property

protected ThemeLayout[],Jarves\Configuration $layouts
return ThemeLayout[]

$navigations protected_oe property

protected ThemeNavigation[],Jarves\Configuration $navigations
return ThemeNavigation[]

$options protected_oe property

protected Field[],Jarves\Configuration $options
return Field[]