ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...