Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/XHtml/XHtmlOption.php')
-rw-r--r--src/XHtml/XHtmlOption.php20
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);
+ }
+}