ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Group.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2017 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see
4 docs/LICENSE */
5 
7 
9 use ILIAS\UI\Component as C;
13 use ILIAS\Validation\Factory as ValidationFactory;
14 use ILIAS\Transformation\Factory as TransformationFactory;
15 
19 class Group extends Input implements C\Input\Field\Group
20 {
21  use GroupHelper;
22 
33  public function __construct(
34  DataFactory $data_factory,
35  ValidationFactory $validation_factory,
36  TransformationFactory $transformation_factory,
37  $inputs,
38  $label,
39  $byline
40  ) {
41  parent::__construct($data_factory, $validation_factory, $transformation_factory, $label, $byline);
42  $this->inputs = $inputs;
43  }
44 }
This describes commonalities between all inputs.
Definition: Input.php:30
This describes a group of inputs.
Definition: Group.php:11
Factory for basic transformations.
Definition: Factory.php:11
__construct(DataFactory $data_factory, ValidationFactory $validation_factory, TransformationFactory $transformation_factory, $inputs, $label, $byline)
Group constructor.
Definition: Group.php:33
Builds data types.
Definition: Factory.php:14
trait GroupHelper
The code of Group is used in Checkbox, e.g., but a checkbox is not a group.
Definition: GroupHelper.php:22