wCMF
3.6
|
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 | |
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.
Input actions:
Output actions:
[in,out] | type | The type of node to list |
[in,out] | pageSize | The number of nodes to display on one tab page (optional, default: 5) |
Definition at line 40 of file class.NodeListController.php.
NodeListController::initialize | ( | & | $request, |
& | $response | ||
) |
Definition at line 45 of file class.NodeListController.php.
References SessionData\getInstance(), getLength(), getSessionPrefix(), and PagingController\reset().
NodeListController::validate | ( | ) |
Definition at line 62 of file class.NodeListController.php.
References PersistenceFacade\isKnownType(), and Controller\setErrorMsg().
NodeListController::getOIDs | ( | ) |
Definition at line 74 of file class.NodeListController.php.
References PersistenceFacade\getInstance().
NodeListController::getDisplayText | ( | & | $node | ) |
Definition at line 86 of file class.NodeListController.php.
References NodeUtil\getDisplayValue().
NodeListController::modifyModel | ( | & | $nodes | ) |
Definition at line 93 of file class.NodeListController.php.
References NodeUtil\setSortProperties().
NodeListController::getLength | ( | ) |
Definition at line 100 of file class.NodeListController.php.
References SessionData\getInstance(), and getSessionPrefix().
Referenced by initialize().
NodeListController::executeKernel | ( | ) |
Definition at line 118 of file class.NodeListController.php.
NodeListController::getSessionPrefix | ( | ) |
Get the sesson varname prefix depending on parent and child type.
Definition at line 129 of file class.NodeListController.php.
Referenced by getLength(), and initialize().