| wCMF
    3.6
    | 
 Inheritance diagram for InsertController:
 Inheritance diagram for InsertController:| Public Member Functions | |
| validate () | |
| hasView () | |
| executeKernel () | |
| confirmInsert (&$node) | |
| modify (&$node) | |
| afterInsert (&$node) | |
|  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 Controller | |
| $_request = null | |
| $_response = null | |
| $_errorMsg = '' | |
| $_view = null | |
| $_delegate = null | |
InsertController is a controller that inserts Nodes.
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] | poid | The oid of the Node to add the new type to (if needed) | 
| [in] | newtype | The type of Node to create | 
| [in] | <type:...> | A Node instance that defines the values of the new node (optional) | 
| [out] | oid | The object id of the last created Node | 
Definition at line 44 of file class.InsertController.php.
| InsertController::validate | ( | ) | 
Definition at line 49 of file class.InsertController.php.
References Controller\appendErrorMsg().
 Here is the call graph for this function:
 Here is the call graph for this function:| InsertController::hasView | ( | ) | 
Definition at line 61 of file class.InsertController.php.
| InsertController::executeKernel | ( | ) | 
Add new Nodes to parent Node.
Definition at line 70 of file class.InsertController.php.
References afterInsert(), Controller\appendErrorMsg(), BUILDDEPTH_REQUIRED, BUILDDEPTH_SINGLE, confirmInsert(), DATATYPE_ATTRIBUTE, PersistenceFacade\decomposeOID(), Message\get(), PersistenceFacade\getInstance(), Localization\getInstance(), PersistenceFacade\getOIDParameter(), Controller\isLocalizedRequest(), PersistenceFacade\isValidOID(), and modify().
 Here is the call graph for this function:
 Here is the call graph for this function:| InsertController::confirmInsert | ( | & | $node | ) | 
Confirm insert action on given Node. This method is called before modify()
| node | A reference to the Node to confirm. | 
Definition at line 177 of file class.InsertController.php.
Referenced by executeKernel().
| InsertController::modify | ( | & | $node | ) | 
Modify a given Node before insert action.
| node | A reference to the Node to modify. | 
Definition at line 187 of file class.InsertController.php.
Referenced by executeKernel().
| InsertController::afterInsert | ( | & | $node | ) | 
Called after insert.
| node | A reference to the Node inserted. | 
Definition at line 197 of file class.InsertController.php.
Referenced by executeKernel().