BoolPropertyItem.php 894 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Holds the PhpMyAdmin\Properties\Options\Items\BoolPropertyItem class
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. namespace PhpMyAdmin\Properties\Options\Items;
  9. use PhpMyAdmin\Properties\Options\OptionsPropertyOneItem;
  10. /**
  11. * Single property item class of type bool
  12. *
  13. * @package PhpMyAdmin
  14. */
  15. class BoolPropertyItem extends OptionsPropertyOneItem
  16. {
  17. /**
  18. * Returns the property item type of either an instance of
  19. * - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool",
  20. * "text", "radio", etc ) or
  21. * - PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main"
  22. * or "subgroup" )
  23. * - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
  24. *
  25. * @return string
  26. */
  27. public function getItemType()
  28. {
  29. return "bool";
  30. }
  31. }