ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ConcreteForm Class Reference
+ Inheritance diagram for ConcreteForm:
+ Collaboration diagram for ConcreteForm:

Public Member Functions

 __construct (Input\Field\Factory $field_factory, array $inputs)
 
 _extractPostData (ServerRequestInterface $request)
 
 extractPostData (ServerRequestInterface $request)
 
 setInputs (array $inputs)
 
 _getPostInput (ServerRequestInterface $request)
 
- Public Member Functions inherited from ILIAS\UI\Implementation\Component\Input\Container\Form\Form
 __construct (Input\Field\Factory $field_factory, array $inputs)
 
 getInputs ()
 
 getInputGroup ()
 
 withRequest (ServerRequestInterface $request)
 
 withAdditionalTransformation (Transformation $trafo)
 
 getData ()
 
 getNewName ()
 

Data Fields

 $post_data = null
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\UI\Implementation\Component\Input\Container\Form\Form
 isSanePostRequest (ServerRequestInterface $request)
 Check the request for sanity. More...
 
 extractPostData (ServerRequestInterface $request)
 Extract post data from request. More...
 
- Protected Attributes inherited from ILIAS\UI\Implementation\Component\Input\Container\Form\Form
 $input_group
 
 $transformation
 

Detailed Description

Definition at line 32 of file FormTest.php.

Constructor & Destructor Documentation

◆ __construct()

ConcreteForm::__construct ( Input\Field\Factory  $field_factory,
array  $inputs 
)

Definition at line 36 of file FormTest.php.

37  {
38  $this->input_factory = $field_factory;
39  parent::__construct($field_factory, $inputs);
40  }

Member Function Documentation

◆ _extractPostData()

ConcreteForm::_extractPostData ( ServerRequestInterface  $request)

Definition at line 42 of file FormTest.php.

43  {
44  return $this->extractPostData($request);
45  }
extractPostData(ServerRequestInterface $request)
Definition: FormTest.php:48

◆ _getPostInput()

ConcreteForm::_getPostInput ( ServerRequestInterface  $request)

Definition at line 65 of file FormTest.php.

66  {
67  return $this->getPostInput($request);
68  }

◆ extractPostData()

ConcreteForm::extractPostData ( ServerRequestInterface  $request)

Definition at line 48 of file FormTest.php.

49  {
50  if ($this->post_data !== null) {
51  return $this->post_data;
52  }
53 
54  return parent::extractPostData($request);
55  }

◆ setInputs()

ConcreteForm::setInputs ( array  $inputs)

Definition at line 58 of file FormTest.php.

59  {
60  $this->input_group = $this->input_factory->group($inputs);
61  $this->inputs = $inputs;
62  }

Field Documentation

◆ $post_data

ConcreteForm::$post_data = null

Definition at line 34 of file FormTest.php.


The documentation for this class was generated from the following file: