ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
InputData.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use LogicException;
24
29interface InputData
30{
37 public function get(string $name);
38
46 public function getOr(string $name, $default);
47
51 public function has(string $name): bool;
52}
Describes how Input-Elements want to interact with posted data.
Definition: InputData.php:30
has(string $name)
Check for existence of parameter name in data.
getOr(string $name, $default)
Get a named value from the data and fallback to default if that name does not exist.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...