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

Public Member Functions

 validate ()
 
 getOIDs ()
 
 modifyModel (&$nodes)
 
 executeKernel ()
 
 getSessionPrefix ()
 
 getRealSubjectType (&$node)
 
- Public Member Functions inherited from NodeListController
 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

ChildrenListController is a controller that loads chilren of a given node 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.ChildrenListController.php 1462 2014-02-04 23:52:27Z iherwig

Input actions:

  • unspecified: List nodes

Output actions:

Parameters
[in,out]poidThe object id of the parent node to list the children for
[in]typeThe entity type the type to list
[in,out]canCreateTrue/False wether children of that type may be created or not
[in,out]aggregationTrue/False wether children of that type are added as aggregation or not
[in,out]compositionTrue/False wether children of that type are added as composition or not

For additional parameters see NodeListController

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 46 of file class.ChildrenListController.php.

Member Function Documentation

ChildrenListController::validate ( )
See Also
Controller::validate()

Definition at line 51 of file class.ChildrenListController.php.

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

+ Here is the call graph for this function:

ChildrenListController::getOIDs ( )
See Also
PagingController::getOIDs()

Definition at line 63 of file class.ChildrenListController.php.

References BUILDDEPTH_SINGLE, and PersistenceFacade\getInstance().

+ Here is the call graph for this function:

ChildrenListController::modifyModel ( $nodes)
ChildrenListController::executeKernel ( )
See Also
Controller::executeKernel()

Definition at line 113 of file class.ChildrenListController.php.

References BUILDDEPTH_SINGLE, PersistenceFacade\getInstance(), and getRealSubjectType().

+ Here is the call graph for this function:

ChildrenListController::getSessionPrefix ( )

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

Returns
The prefix

Definition at line 133 of file class.ChildrenListController.php.

ChildrenListController::getRealSubjectType ( $node)

Get the real subject type for a proxy node.

Parameters
nodeThe proxy node
Returns
The type

Definition at line 143 of file class.ChildrenListController.php.

References PersistenceFacade\getOIDParameter().

Referenced by executeKernel(), and modifyModel().

+ Here is the call graph for this function:


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