class NodeRouteHelper (View source)

Methods

__construct(Node $node, Theme $theme, bool $preview = false)

NodeRouteHelper constructor.

string
getController()

Get controller class path for a given node.

getMethod()

No description

boolean
isViewable()

Return FALSE or TRUE if node is viewable.

Details

__construct(Node $node, Theme $theme, bool $preview = false)

NodeRouteHelper constructor.

Parameters

Node $node
Theme $theme
bool $preview

string getController()

Get controller class path for a given node.

Return Value

string

getMethod()

boolean isViewable()

Return FALSE or TRUE if node is viewable.

Return Value

boolean