PHP Interface Sulu\Component\Content\Compat\PageInterface

Inheritance: extends Sulu\Component\Content\Compat\StructureInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
getCacheLifeTime ( ) : array cacheLifeTime of template definition.
getController ( ) : string controller which renders the template definition.
getExt ( ) : array
getInternal ( ) : boolean
getInternalLinkContent ( ) : Sulu\Component\Content\Compat\StructureInterface returns content node that holds the internal link.
getNavContexts ( ) : string[] returns true if this node is shown in navigation.
getNodeState ( ) : integer returns state of node.
getOriginTemplate ( ) : string
getView ( ) : string twig template of template definition.
setExt ( $data ) : array
setInternal ( boolean $internal )
setInternalLinkContent ( Sulu\Component\Content\Compat\StructureInterface $internalLinkContent ) set content node that holds the internal link.
setNavContexts ( string[] $navContexts )
setNodeState ( integer $state ) : integer
setOriginTemplate ( string $originTemplate )

Method Details

getCacheLifeTime() public method

cacheLifeTime of template definition.
public getCacheLifeTime ( ) : array
return array

getController() public method

controller which renders the template definition.
public getController ( ) : string
return string

getExt() public method

public getExt ( ) : array
return array

getInternal() public method

public getInternal ( ) : boolean
return boolean

getInternalLinkContent() public method

returns content node that holds the internal link.
public getInternalLinkContent ( ) : Sulu\Component\Content\Compat\StructureInterface
return Sulu\Component\Content\Compat\StructureInterface

getNavContexts() public method

returns true if this node is shown in navigation.
public getNavContexts ( ) : string[]
return string[]

getNodeState() public method

returns state of node.
public getNodeState ( ) : integer
return integer

getOriginTemplate() public method

public getOriginTemplate ( ) : string
return string

getView() public method

twig template of template definition.
public getView ( ) : string
return string

setExt() public method

public setExt ( $data ) : array
$data
return array

setInternal() public method

public setInternal ( boolean $internal )
$internal boolean

setInternalLinkContent() public method

set content node that holds the internal link.
public setInternalLinkContent ( Sulu\Component\Content\Compat\StructureInterface $internalLinkContent )
$internalLinkContent Sulu\Component\Content\Compat\StructureInterface

setNavContexts() public method

public setNavContexts ( string[] $navContexts )
$navContexts string[]

setNodeState() public method

public setNodeState ( integer $state ) : integer
$state integer
return integer

setOriginTemplate() public method

public setOriginTemplate ( string $originTemplate )
$originTemplate string