ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
PostData.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 
12 interface PostData
13 {
14 
23  public function get($name);
24 
25 
35  public function getOr($name, $default);
36 }
getOr($name, $default)
Get a named value from the data and fallback to default if that name does not exist.
Describes how Input-Elements want to interact with posted data.
Definition: PostData.php:12
$default
Definition: build.php:20