|
wCMF
3.6
|
Inheritance diagram for DeleteController:Public Member Functions | |
| hasView () | |
| executeKernel () | |
| confirmDelete (&$node) | |
| afterDelete ($oid, $poids) | |
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 | |
DeleteController is a controller that delete 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] | deleteoids | A comma-separated string of the oids of the Nodes to delete. |
| [out] | oids | A comma-separated string of the oids of the deleted Nodes. |
| [out] | poid | The last parent oid of the last deleted Node. |
Definition at line 41 of file class.DeleteController.php.
| DeleteController::hasView | ( | ) |
Definition at line 46 of file class.DeleteController.php.
| DeleteController::executeKernel | ( | ) |
Delete given Nodes.
Definition at line 56 of file class.DeleteController.php.
References afterDelete(), Controller\appendErrorMsg(), BUILDDEPTH_SINGLE, confirmDelete(), Message\get(), LockManager\getInstance(), PersistenceFacade\getInstance(), Localization\getInstance(), Controller\isLocalizedRequest(), STATE_DELETED, and Log\warn().
Here is the call graph for this function:| DeleteController::confirmDelete | ( | & | $node | ) |
Confirm delete action on given Node.
| node | A reference to the Node to confirm. |
Definition at line 138 of file class.DeleteController.php.
Referenced by executeKernel().
| DeleteController::afterDelete | ( | $oid, | |
| $poids | |||
| ) |
Called after delete.
| oid | The oid of the Node deleted. |
| poids | An array of oids of the Nodes from that the Node was deleted. |
Definition at line 149 of file class.DeleteController.php.
Referenced by executeKernel().