ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TestSettingsGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Test\Settings;
22 
29 abstract class TestSettingsGUI
30 {
31  public function __construct(protected \ilObjTest $test_object)
32  {
33  }
34 
35  protected function formPropertyExists(\ilPropertyFormGUI $form, $propertyId): bool
36  {
37  return $form->getItemByPostVar($propertyId) instanceof \ilFormPropertyGUI;
38  }
39 }
getItemByPostVar(string $a_post_var)
__construct(protected \ilObjTest $test_object)
formPropertyExists(\ilPropertyFormGUI $form, $propertyId)