DisplayController.php
34 * | _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)
35 * | _in_ `translateValues` | Boolean whether list values should be translated to their display values (optional, default: _true_)
92 throw new IllegalArgumentException($message->getText("The object with oid '%0%' does not exist.", array($oid)));
120 throw new AuthorizationException($message->getText("Authorization failed for action '%0%' on '%1%'.",
doExecute()
Definition: DisplayController.php:74
validate()
Definition: DisplayController.php:49
Controller is the base class of all controllers.
Definition: Controller.php:48
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
static translateValues(&$nodes, $language=null)
Translate all list values in a list of Nodes.
Definition: NodeUtil.php:253
AuthorizationException signals an exception in authorization.
Definition: AuthorizationException.php:18
checkLanguageParameter()
Checks the language request parameter and adds an response error, if it is not contained in the Local...
Definition: Controller.php:315
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:144
static get($code, $data=null)
Factory method for retrieving a predefind error instance.
Definition: ApplicationError.php:120
DisplayController is used to read a Node instance.
Definition: DisplayController.php:44