BoolPropertyItem.class.php 828 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Holds the BoolPropertyItem class
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. if (! defined('PHPMYADMIN')) {
  9. exit;
  10. }
  11. /* This class extends the OptionsPropertyOneItem class */
  12. require_once 'libraries/properties/options/OptionsPropertyOneItem.class.php';
  13. /**
  14. * Single property item class of type bool
  15. *
  16. * @package PhpMyAdmin
  17. */
  18. class BoolPropertyItem extends OptionsPropertyOneItem
  19. {
  20. /**
  21. * Returns the property item type of either an instance of
  22. * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
  23. * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
  24. * - PluginPropertyItem ( "export", "import", "transformations" )
  25. *
  26. * @return string
  27. */
  28. public function getItemType()
  29. {
  30. return "bool";
  31. }
  32. }
  33. ?>