PHP Class Jarves\Configuration\Theme

Inheritance: extends Model
Afficher le fichier Open project: jarves/jarves Class Usage Examples

Protected Properties

Свойство Type Description
$attributes
$contents ThemeContent[]
$doctype string Can be overwritten by ThemeLayout::$docType.
$elementMap
$id string
$label string
$layouts ThemeLayout[]
$navigations ThemeNavigation[]
$options Field[]

Méthodes publiques

Méthode 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 méthode

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

getDoctype() public méthode

public getDoctype ( ) : string
Résultat string

getId() public méthode

public getId ( ) : string
Résultat string

getLabel() public méthode

public getLabel ( ) : string
Résultat string

getLayoutByKey() public méthode

public getLayoutByKey ( string $key ) : ThemeLayout | null
$key string
Résultat ThemeLayout | null

getLayouts() public méthode

public getLayouts ( ) : ThemeLayout[]
Résultat ThemeLayout[]

getNavigations() public méthode

public getNavigations ( ) : ThemeNavigation[]
Résultat ThemeNavigation[]

getOptions() public méthode

public getOptions ( ) : Field[]
Résultat Field[]

setContents() public méthode

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

setDoctype() public méthode

public setDoctype ( string $doctype )
$doctype string

setId() public méthode

public setId ( string $id )
$id string

setLabel() public méthode

public setLabel ( string $label )
$label string

setLayouts() public méthode

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

setNavigations() public méthode

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

setOptions() public méthode

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

Property Details

$attributes protected_oe property

protected $attributes

$contents protected_oe property

protected ThemeContent[],Jarves\Configuration $contents
Résultat ThemeContent[]

$doctype protected_oe property

Can be overwritten by ThemeLayout::$docType.
protected string $doctype
Résultat string

$elementMap protected_oe property

protected $elementMap

$id protected_oe property

protected string $id
Résultat string

$label protected_oe property

protected string $label
Résultat string

$layouts protected_oe property

protected ThemeLayout[],Jarves\Configuration $layouts
Résultat ThemeLayout[]

$navigations protected_oe property

protected ThemeNavigation[],Jarves\Configuration $navigations
Résultat ThemeNavigation[]

$options protected_oe property

protected Field[],Jarves\Configuration $options
Résultat Field[]