ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
InputData.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
12interface InputData
13{
14
23 public function get($name);
24
25
35 public function getOr($name, $default);
36}
An exception for terminatinating execution or to throw for unit testing.
Describes how Input-Elements want to interact with posted data.
Definition: InputData.php:13
getOr($name, $default)
Get a named value from the data and fallback to default if that name does not exist.
if($format !==null) $name
Definition: metadata.php:230