summaryrefslogtreecommitdiff
path: root/hugo/libraries/properties/options/items
diff options
context:
space:
mode:
authorTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
committerTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
commitb62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch)
tree86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /hugo/libraries/properties/options/items
Initial commit of intern.ccwn.org contentsHEADmaster
Diffstat (limited to 'hugo/libraries/properties/options/items')
-rw-r--r--hugo/libraries/properties/options/items/BoolPropertyItem.class.php35
-rw-r--r--hugo/libraries/properties/options/items/DocPropertyItem.class.php35
-rw-r--r--hugo/libraries/properties/options/items/HiddenPropertyItem.class.php35
-rw-r--r--hugo/libraries/properties/options/items/MessageOnlyPropertyItem.class.php35
-rw-r--r--hugo/libraries/properties/options/items/RadioPropertyItem.class.php35
-rw-r--r--hugo/libraries/properties/options/items/SelectPropertyItem.class.php35
-rw-r--r--hugo/libraries/properties/options/items/TextPropertyItem.class.php35
7 files changed, 245 insertions, 0 deletions
diff --git a/hugo/libraries/properties/options/items/BoolPropertyItem.class.php b/hugo/libraries/properties/options/items/BoolPropertyItem.class.php
new file mode 100644
index 0000000..f33067f
--- /dev/null
+++ b/hugo/libraries/properties/options/items/BoolPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the BoolPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type bool
+ *
+ * @package PhpMyAdmin
+ */
+class BoolPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "bool";
+ }
+}
+?> \ No newline at end of file
diff --git a/hugo/libraries/properties/options/items/DocPropertyItem.class.php b/hugo/libraries/properties/options/items/DocPropertyItem.class.php
new file mode 100644
index 0000000..55aff61
--- /dev/null
+++ b/hugo/libraries/properties/options/items/DocPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the DocPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type doc
+ *
+ * @package PhpMyAdmin
+ */
+class DocPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "doc";
+ }
+}
+?> \ No newline at end of file
diff --git a/hugo/libraries/properties/options/items/HiddenPropertyItem.class.php b/hugo/libraries/properties/options/items/HiddenPropertyItem.class.php
new file mode 100644
index 0000000..53bfe46
--- /dev/null
+++ b/hugo/libraries/properties/options/items/HiddenPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the HiddenPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type hidden
+ *
+ * @package PhpMyAdmin
+ */
+class HiddenPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "hidden";
+ }
+}
+?> \ No newline at end of file
diff --git a/hugo/libraries/properties/options/items/MessageOnlyPropertyItem.class.php b/hugo/libraries/properties/options/items/MessageOnlyPropertyItem.class.php
new file mode 100644
index 0000000..98f2e70
--- /dev/null
+++ b/hugo/libraries/properties/options/items/MessageOnlyPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the MessageOnlyPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type messageOnly
+ *
+ * @package PhpMyAdmin
+ */
+class MessageOnlyPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "messageOnly";
+ }
+}
+?> \ No newline at end of file
diff --git a/hugo/libraries/properties/options/items/RadioPropertyItem.class.php b/hugo/libraries/properties/options/items/RadioPropertyItem.class.php
new file mode 100644
index 0000000..4d8ed7a
--- /dev/null
+++ b/hugo/libraries/properties/options/items/RadioPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the RadioPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type radio
+ *
+ * @package PhpMyAdmin
+ */
+class RadioPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "radio";
+ }
+}
+?> \ No newline at end of file
diff --git a/hugo/libraries/properties/options/items/SelectPropertyItem.class.php b/hugo/libraries/properties/options/items/SelectPropertyItem.class.php
new file mode 100644
index 0000000..28460c9
--- /dev/null
+++ b/hugo/libraries/properties/options/items/SelectPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the SelectPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type select
+ *
+ * @package PhpMyAdmin
+ */
+class SelectPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "select";
+ }
+}
+?> \ No newline at end of file
diff --git a/hugo/libraries/properties/options/items/TextPropertyItem.class.php b/hugo/libraries/properties/options/items/TextPropertyItem.class.php
new file mode 100644
index 0000000..9339cdf
--- /dev/null
+++ b/hugo/libraries/properties/options/items/TextPropertyItem.class.php
@@ -0,0 +1,35 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Holds the TextPropertyItem class
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/* This class extends the OptionsPropertyOneItem class */
+require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
+
+/**
+ * Single property item class of type text
+ *
+ * @package PhpMyAdmin
+ */
+class TextPropertyItem extends OptionsPropertyOneItem
+{
+ /**
+ * Returns the property item type of either an instance of
+ * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
+ * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
+ * - PluginPropertyItem ( "export", "import", "transformations" )
+ *
+ * @return string
+ */
+ public function getItemType()
+ {
+ return "text";
+ }
+}
+?> \ No newline at end of file