ILIAS  trunk Revision v11.0_alpha-1846-g895b5f47236
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Hidden.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 use Closure;
27 
31 class Hidden extends FormInput implements \ILIAS\UI\Component\Input\Field\Hidden
32 {
33  public function __construct(DataFactory $data_factory, Factory $refinery)
34  {
35  parent::__construct($data_factory, $refinery, '', null);
36  }
37 
38  public function getUpdateOnLoadCode(): Closure
39  {
40  return static function () {
41  };
42  }
43 
44  protected function getConstraintForRequirement(): ?Constraint
45  {
46  return null;
47  }
48 
49  protected function isClientSideValueOk($value): bool
50  {
51  return true;
52  }
53 }
A constraint encodes some resrtictions on values.
Definition: Constraint.php:31
Factory for Date Formats.
Definition: Factory.php:26
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Checkbox.php:21
__construct(DataFactory $data_factory, Factory $refinery)
Definition: Hidden.php:33
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
This describes inputs that can be used in forms.
Definition: FormInput.php:32