Method Summary |
void
|
Returns if node-based service is available
|
protected
void
|
Checks availablity of node service
|
void
|
constructUrl
( mixed $pagePath, mixed $getParams, mixed $encodeAmpersand, mixed $encodeGetItems, mixed $log)
wrapper function
|
protected
string
|
Determines the requested page path.
|
protected
void
|
Finds a node in the tree by alias
|
void
|
Returns the current node object
|
void
|
|
void
|
Returns all nodes in tree structure starting from root
|
void
|
Returns all nodes in list structure
|
void
|
Returns the current node object
|
void
|
return current selected page for this service
|
void
|
Reads MasterConfig
|
protected
void
|
Queries all nodes in database and serves them for later use
|
void
|
|
Method Details |
areNodesAvailable
public void areNodesAvailable |
() |
Returns if node-based service is available
|
checkVirtualNodes
protected void checkVirtualNodes |
() |
Checks availablity of node service
|
constructUrl
public void constructUrl |
(mixed $pagePath , mixed $getParams , mixed $encodeAmpersand , mixed $encodeGetItems , mixed $log ) |
wrapper function
Input |
mixed | $pagePath | |
mixed | $getParams | |
mixed | $encodeAmpersand | |
mixed | $encodeGetItems | |
mixed | $log | |
Output |
Exception |
|
determineRequestedPagePath
protected string determineRequestedPagePath |
() |
Determines the requested page path.
- nodeId (database needed)
- path (database needed)
- page
Output |
string
| page path requested |
Exception |
|
findNodeByAlias
protected void findNodeByAlias |
(mixed $startNode , mixed $searchAlias ) |
Finds a node in the tree by alias
Input |
mixed | $startNode | |
mixed | $searchAlias | |
Output |
Exception |
|
getCurrentNode
public void getCurrentNode |
() |
Returns the current node object
|
getNodeById
public void getNodeById |
(mixed $id ) |
Input |
mixed | $id | |
Output |
Exception |
|
getNodes
Returns all nodes in tree structure starting from root
|
getNodesList
public void getNodesList |
() |
Returns all nodes in list structure
|
getPageName
public void getPageName |
() |
Returns the current node object
|
getServicePage
public void getServicePage |
(mixed $return_node_alias ) |
return current selected page for this service
Input |
mixed | $return_node_alias | |
Output |
Exception |
|
init
public void init |
(mixed $config ) |
Reads MasterConfig
Input |
mixed | $config | |
Output |
Exception |
|
prepareNodes
protected void prepareNodes |
() |
Queries all nodes in database and serves them for later use
|
reload
|