Beta version

class Theme extends AbstractEntity

Themes describe a database entity to store front-end and back-end controllers.

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

boolean
isAvailable()

No description

$this
setAvailable(boolean $available)

No description

boolean
isStaticTheme()

Static means that your theme is not suitable for responding from nodes urls but only static routes.

$this
setStaticTheme(boolean $newstaticTheme)

No description

string
getClassName()

No description

$this
setClassName(string $className)

No description

array
getInformations()

Get theme informations in an array.

string
getHostname()

No description

$this
setHostname(string $hostname)

No description

string
getRoutePrefix()

No description

$this
setRoutePrefix(string $routePrefix)

No description

boolean
isBackendTheme()

No description

$this
setBackendTheme(boolean $backendTheme)

No description

setHomeNode(Node $homeNode = null)

No description

getHomeNode()

No description

setRoot(Node $root = null)

No description

getRoot()

No description

Details

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 56
boolean isAvailable()

Return Value

boolean

at line 66
$this setAvailable(boolean $available)

Parameters

boolean $available

Return Value

$this

at line 84
boolean isStaticTheme()

Static means that your theme is not suitable for responding from nodes urls but only static routes.

Return Value

boolean

at line 93
$this setStaticTheme(boolean $newstaticTheme)

Parameters

boolean $newstaticTheme

Return Value

$this

at line 110
string getClassName()

Return Value

string

at line 120
$this setClassName(string $className)

Parameters

string $className

Return Value

$this

at line 136
array getInformations()

Get theme informations in an array.

  • name
  • author
  • copyright
  • dir

Return Value

array

at line 165
string getHostname()

Return Value

string

at line 175
$this setHostname(string $hostname)

Parameters

string $hostname

Return Value

$this

at line 191
string getRoutePrefix()

Return Value

string

at line 201
$this setRoutePrefix(string $routePrefix)

Parameters

string $routePrefix

Return Value

$this

at line 217
boolean isBackendTheme()

Return Value

boolean

at line 227
$this setBackendTheme(boolean $backendTheme)

Parameters

boolean $backendTheme

Return Value

$this

at line 247
Node setHomeNode(Node $homeNode = null)

Parameters

Node $homeNode

Return Value

Node

at line 257
Node getHomeNode()

Return Value

Node

at line 275
Node setRoot(Node $root = null)

Parameters

Node $root

Return Value

Node

at line 285
Node getRoot()

Return Value

Node