DisplayController.php
33 * | _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)
34 * | _in_ `useDefaults` | Boolean whether to apply values from the default language, if they are not provided in a translation (optional, default: _true_)
35 * | _in_ `translateValues` | Boolean whether list values should be translated to their display values (optional, default: _false_)
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
BuildDepth values are used to define the depth when loading object trees.
Definition: BuildDepth.php:19
static translateValues(&$nodes, $language=null, $itemDelim=", ")
Translate all list values in a list of Nodes.
Definition: NodeUtil.php:249
validate()
Definition: DisplayController.php:49
DisplayController is used to read a Node instance.
Definition: DisplayController.php:44
ApplicationError is used to signal errors that occur while processing a request.
Definition: ApplicationError.php:41
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:135
static get($code, $data=null)
Factory method for retrieving a predefined error instance.
Definition: ApplicationError.php:144
ApplicationException signals a general application exception.
Definition: ApplicationException.php:22
Controller is the base class of all controllers.
Definition: Controller.php:49
PersistenceAction values are used to define actions on PersistentObject instances.
Definition: PersistenceAction.php:19
checkLanguageParameter()
Checks the language request parameter and adds an response error, if it is not contained in the Local...
Definition: Controller.php:381
doExecute($method=null)
Definition: DisplayController.php:74