From 76049972a760863e5d06d97746609e8ec8946c2e Mon Sep 17 00:00:00 2001 From: 2piJareem <122758853+2piJareem@users.noreply.github.com> Date: Wed, 26 Apr 2023 06:40:06 +0000 Subject: [PATCH 01/21] Support for Form Banner --- system/classes/html/form/Banner.php | 99 +++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 system/classes/html/form/Banner.php diff --git a/system/classes/html/form/Banner.php b/system/classes/html/form/Banner.php new file mode 100644 index 000000000..9c3fe5885 --- /dev/null +++ b/system/classes/html/form/Banner.php @@ -0,0 +1,99 @@ + + * + * @author Jareem Wheeler jareem@2pisoftware.com + */ +class Banner extends \Html\Form\FormElement +{ + + use \Html\GlobalAttributes, \Html\Events; + + public $form; + public $name; + public $required; + public $value; + + static $_excludeFromOutput = ["value", "label"]; + + /** + * Returns built string of Banner field + * + * @return string representation + */ + public function __toString() + { + $buffer = ' '; + } + + /** + * The form element that the Banner is associated with (its + * "form owner"). The value of the attribute must be the ID of a form + * element in the same document. If this attribute is not specified, the + *