DisplayController Class Reference

Detailed Description

DisplayController is used to read a Node instance.

The controller supports the following actions:

Action default
Load the given Node instance.
Parameter Description
in oid The object id of the Node to read
in depth The number of levels referenced Node must be returned as complete objects. Below this level, Nodes are returned as references. The value -1 has the special meaning of unlimited depth (optional, default: 1)
in useDefaults Boolean whether to apply values from the default language, if they are not provided in a translation (optional, default: true)
in translateValues Boolean whether list values should be translated to their display values (optional, default: false)
out object The Node to read
Response Actions
ok In all cases
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 44 of file DisplayController.php.

+ Inheritance diagram for DisplayController:

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()

validate ( )
See also

Reimplemented from Controller.

Definition at line 49 of file DisplayController.php.

◆ doExecute()

doExecute (   $method = null)
See also

Reimplemented from Controller.

Definition at line 74 of file DisplayController.php.