diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-09 10:55:03 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-09 13:09:38 +0100 |
| commit | 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch) | |
| tree | 5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/libraries/classes/Properties/Options/Items | |
| parent | 7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff) | |
| download | ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2 ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip | |
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/libraries/classes/Properties/Options/Items')
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"; + } +} |
