diff options
Diffstat (limited to 'src/XHtml/XHtmlOption.php')
-rw-r--r-- | src/XHtml/XHtmlOption.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/XHtml/XHtmlOption.php b/src/XHtml/XHtmlOption.php new file mode 100644 index 00000000..3ff9f953 --- /dev/null +++ b/src/XHtml/XHtmlOption.php @@ -0,0 +1,20 @@ +<?php + +/** + * PHPPgAdmin6 + */ + +namespace PHPPgAdmin\XHtml; + +/** + * Class to render options elements. + */ +class XHtmlOption extends XHtmlElement +{ + public function __construct($text, $value = null) + { + parent::__construct(null); + + $this->set_text($text); + } +} |