aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/libraries/classes/Properties/Options/Items
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/libraries/classes/Properties/Options/Items')
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/DocPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/HiddenPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/MessageOnlyPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/NumberPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/RadioPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/SelectPropertyItem.php35
-rw-r--r--srcs/phpmyadmin/libraries/classes/Properties/Options/Items/TextPropertyItem.php35
8 files changed, 280 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php
new file mode 100644
index 0000000..7441243
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/BoolPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\BoolPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type bool
+ *
+ * @package PhpMyAdmin
+ */
+class BoolPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "bool";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/DocPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/DocPropertyItem.php
new file mode 100644
index 0000000..51a05f4
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/DocPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\DocPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type doc
+ *
+ * @package PhpMyAdmin
+ */
+class DocPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "doc";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/HiddenPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/HiddenPropertyItem.php
new file mode 100644
index 0000000..116666f
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/HiddenPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type hidden
+ *
+ * @package PhpMyAdmin
+ */
+class HiddenPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "hidden";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/MessageOnlyPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/MessageOnlyPropertyItem.php
new file mode 100644
index 0000000..ab8e1b2
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/MessageOnlyPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\MessageOnlyPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type messageOnly
+ *
+ * @package PhpMyAdmin
+ */
+class MessageOnlyPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "messageOnly";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/NumberPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/NumberPropertyItem.php
new file mode 100644
index 0000000..9c81deb
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/NumberPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\TextPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type number
+ *
+ * @package PhpMyAdmin
+ */
+class NumberPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "number";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/RadioPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/RadioPropertyItem.php
new file mode 100644
index 0000000..98f93a9
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/RadioPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\RadioPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type radio
+ *
+ * @package PhpMyAdmin
+ */
+class RadioPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "radio";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/SelectPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/SelectPropertyItem.php
new file mode 100644
index 0000000..ea7abcd
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/SelectPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\SelectPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type select
+ *
+ * @package PhpMyAdmin
+ */
+class SelectPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "select";
+ }
+}
diff --git a/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/TextPropertyItem.php b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/TextPropertyItem.php
new file mode 100644
index 0000000..5c10a54
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Properties/Options/Items/TextPropertyItem.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the PhpMyAdmin\Properties\Options\Items\TextPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Properties\Options\Items;
+
+use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
+
+/**
+ * Single property item class of type text
+ *
+ * @package PhpMyAdmin
+ */
+class TextPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
+ * "text", "radio", etc ) or
+ * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
+ * or "subgroup" )
+ * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "text";
+ }
+}