DeleteController Class Reference
Detailed Description
DeleteController is used to delete Node instances.
The controller supports the following actions:
Action default
Delete the given Node instance.
Parameter | Description |
---|---|
in / out oid | The object id of the Node to delete |
Response Actions | |
ok | In all cases |
Definition at line 38 of file DeleteController.php.
Inheritance diagram for DeleteController:
Protected Member Functions | |
validate () | |
doExecute () | |
confirmDelete ($node) | |
afterDelete ($oid) | |
Protected Member Functions inherited from Controller | |
validate () | |
executeSubAction ($action) | |
getLogger () | |
getSession () | |
getPersistenceFacade () | |
getPermissionManager () | |
getActionMapper () | |
getLocalization () | |
getMessage () | |
getConfiguration () | |
assignResponseDefaults () | |
isLocalizedRequest () | |
checkLanguageParameter () | |
Additional Inherited Members | |
Public Member Functions inherited from Controller | |
__construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration) | |
initialize (Request $request, Response $response) | |
execute ($method=null) | |
getRequest () | |
getResponse () | |
Member Function Documentation
|
protected |
- See also
- Controller::validate()
Definition at line 43 of file DeleteController.php.
|
protected |
- See also
- Controller::doExecute()
Definition at line 54 of file DeleteController.php.
|
protected |
Confirm delete action on given Node.
- Note
- subclasses will override this to implement special application requirements.
- Parameters
-
$node A reference to the Node to confirm.
- Returns
- Boolean whether the Node should be deleted (default: true)
Definition at line 112 of file DeleteController.php.
|
protected |
Called after delete.
- Note
- subclasses will override this to implement special application requirements.
- Parameters
-
$oid The oid of the Node deleted
Definition at line 121 of file DeleteController.php.