AssociateController Class Reference
Detailed Description
AssociateController is used to (dis-)associates Node instances, e.g.
in a parent/child association.
The controller supports the following actions:
Action associate
Connect two Node instances.
Parameter | Description |
---|---|
in sourceOid | The object id of the association's source Node |
in targetOid | The object id of the association's target Node |
in role | The role of the target Node in the source Node |
Response Actions | |
ok | In all cases |
Action disassociate
Disconnect two Node instances.
Parameter | Description |
---|---|
in sourceOid | The object id of the association's source Node |
in targetOid | The object id of the association's target Node |
in role | The role of the target Node in the source Node |
Response Actions | |
ok | In all cases |
Definition at line 57 of file AssociateController.php.
Inheritance diagram for AssociateController:
Protected Member Functions | |
validate () | |
doExecute ($method=null) | |
Protected Member Functions inherited from Controller | |
executeSubAction ($action) | |
redirect ($location, $key=null, $data=null) | |
getLogger () | |
getSession () | |
getPersistenceFacade () | |
getPermissionManager () | |
getActionMapper () | |
getLocalization () | |
getMessage () | |
getConfiguration () | |
requireTransaction () | |
endTransaction ($commit) | |
isLocalizedRequest () | |
checkLanguageParameter () | |
generateCsrfToken ($name, $refresh=true) | |
validateCsrfToken ($name, $invalidate=true) | |
getLocalSessionValue ($key, $default=null) | |
setLocalSessionValue ($key, $value) | |
clearLocalSessionValues () | |
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 () | |
Public Attributes inherited from Controller | |
const | CSRF_TOKEN_PARAM = 'csrf_token' |
Member Function Documentation
◆ validate()
|
protected |
- See also
- Controller::validate()
Reimplemented from Controller.
Definition at line 62 of file AssociateController.php.
◆ doExecute()
|
protected |
- See also
- Controller::doExecute()
Reimplemented from Controller.
Definition at line 105 of file AssociateController.php.