wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
NodeListController Class Reference
+ Inheritance diagram for NodeListController:

Public Member Functions

 initialize (&$request, &$response)
 
 validate ()
 
 getOIDs ()
 
 getDisplayText (&$node)
 
 modifyModel (&$nodes)
 
 getLength ()
 
 executeKernel ()
 
 getSessionPrefix ()
 
- Public Member Functions inherited from PagingController
 initialize (&$request, &$response)
 
 hasView ()
 
 executeKernel ()
 
 getOIDs ()
 
 getDisplayText (&$node)
 
 modifyModel (&$nodes)
 
 getLength ()
 
 updateNavigation ($startIndex, $length, $total)
 
 reset ()
 
- Public Member Functions inherited from Controller
 Controller (&$delegate)
 
 initialize (&$request, &$response)
 
 validate ()
 
 hasView ()
 
 execute ()
 
 executeKernel ()
 
 getErrorMsg ()
 
 setErrorMsg ($msg)
 
 appendErrorMsg ($msg)
 
getRequest ()
 
getResponse ()
 
getView ()
 
getDelegate ()
 
 getViewTemplate ($controller, $context, $action)
 
 getCacheId ()
 
 assignViewDefaults (&$view)
 
 isLocalizedRequest ()
 

Additional Inherited Members

- Public Attributes inherited from PagingController
 $OIDS_SESSION_VARNAME = 'PagingController.oids'
 
 $INDEX_SESSION_VARNAME = 'PagingController.index'
 
 $_allOIDs = array()
 
 $_curOIDs = array()
 
 $_total = 0
 
 $_hasPrev = true
 
 $_hasNext = true
 
 $_startIndex = 0
 
 $_size = 0
 
- Public Attributes inherited from Controller
 $_request = null
 
 $_response = null
 
 $_errorMsg = ''
 
 $_view = null
 
 $_delegate = null
 

Detailed Description

NodeListController is a controller that loads nodes of a given type and displays the result in a list.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.NodeListController.php 1462 2014-02-04 23:52:27Z iherwig

Input actions:

  • unspecified: List Nodes

Output actions:

Parameters
[in,out]typeThe type of node to list
[in,out]pageSizeThe number of nodes to display on one tab page (optional, default: 5)
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 40 of file class.NodeListController.php.

Member Function Documentation

NodeListController::initialize ( $request,
$response 
)
See Also
Controller::initialize()

Definition at line 45 of file class.NodeListController.php.

References SessionData\getInstance(), getLength(), getSessionPrefix(), and PagingController\reset().

+ Here is the call graph for this function:

NodeListController::validate ( )
See Also
Controller::validate()

Definition at line 62 of file class.NodeListController.php.

References PersistenceFacade\isKnownType(), and Controller\setErrorMsg().

+ Here is the call graph for this function:

NodeListController::getOIDs ( )
See Also
PagingController::getOIDs()

Definition at line 74 of file class.NodeListController.php.

References PersistenceFacade\getInstance().

+ Here is the call graph for this function:

NodeListController::getDisplayText ( $node)
See Also
PagingController::getDisplayText()

Definition at line 86 of file class.NodeListController.php.

References NodeUtil\getDisplayValue().

+ Here is the call graph for this function:

NodeListController::modifyModel ( $nodes)
See Also
PagingController::modifyModel()

Definition at line 93 of file class.NodeListController.php.

References NodeUtil\setSortProperties().

+ Here is the call graph for this function:

NodeListController::getLength ( )
See Also
PagingController::getLength()

Definition at line 100 of file class.NodeListController.php.

References SessionData\getInstance(), and getSessionPrefix().

Referenced by initialize().

+ Here is the call graph for this function:

NodeListController::executeKernel ( )
See Also
Controller::executeKernel()

Definition at line 118 of file class.NodeListController.php.

NodeListController::getSessionPrefix ( )

Get the sesson varname prefix depending on parent and child type.

Returns
The prefix

Definition at line 129 of file class.NodeListController.php.

Referenced by getLength(), and initialize().


The documentation for this class was generated from the following file: