wCMF
3.6
|
Public Member Functions | |
initialize (&$request, &$response) | |
hasView () | |
executeKernel () | |
isOmitMetaData () | |
![]() | |
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 | |
![]() | |
$_request = null | |
$_response = null | |
$_errorMsg = '' | |
$_view = null | |
$_delegate = null | |
DisplayController is a simple controller demonstrating how to display a Node using the displaynode.tpl template.
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] | oid | The oid of the Node to show |
[in] | depth | The BUILDDEPTH used when loading the Node |
[in] | omitMetaData | True/False. If true, only the parameters 'node' and 'lockMsg' will be returned. If not given, all parameters will be returned. |
[in] | translateValues | True/False. If true, list values will be translated using FormUtil::translateValue. If not given, all values will be returned as is. |
[out] | node | The Node object to display |
[out] | lockMsg | The lock message, if any |
[out] | possibleparents | An array with Node objects of possible parents (see NodeUtil::getPossibleParents()) [optional] |
[out] | possiblechildren | An array with Node objects of possible children (see NodeUtil::getPossibleChildren()) [optional] |
[out] | rootType | The root type of the Node (selects the navigation tab) [optional] |
[out] | rootTemplateNode | An instance of the root type [optional] |
[out] | viewMode | One of the values 'detail' (in case of an oid given) or 'overview' (else) [optional] |
Definition at line 58 of file class.DisplayController.php.
DisplayController::initialize | ( | & | $request, |
& | $response | ||
) |
Definition at line 63 of file class.DisplayController.php.
References PersistenceFacade\decomposeOID(), PersistenceFacade\isKnownType(), and PersistenceFacade\isValidOID().
DisplayController::hasView | ( | ) |
Definition at line 90 of file class.DisplayController.php.
DisplayController::executeKernel | ( | ) |
Definition at line 101 of file class.DisplayController.php.
References ACTION_READ, BUILDDEPTH_SINGLE, Log\debug(), Message\get(), LockManager\getInstance(), PersistenceFacade\getInstance(), InifileParser\getInstance(), RightsManager\getInstance(), Localization\getInstance(), PersistenceFacade\getOIDParameter(), NodeUtil\getPossibleChildren(), NodeUtil\getPossibleParents(), LockManager\handleLocking(), Log\isDebugEnabled(), Controller\isLocalizedRequest(), isOmitMetaData(), PersistenceFacade\isValidOID(), Controller\setErrorMsg(), and NodeUtil\translateValues().
DisplayController::isOmitMetaData | ( | ) |
Determine, if meta data is not requested
Definition at line 246 of file class.DisplayController.php.
Referenced by executeKernel().