ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TestSettingsGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Test\Settings;
22
29abstract 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}
formPropertyExists(\ilPropertyFormGUI $form, $propertyId)
__construct(protected \ilObjTest $test_object)
This class represents a property form user interface.
getItemByPostVar(string $a_post_var)