TextPropertyItem.php 920 B

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