SchemaPluginProperties.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Properties class for the schema export plug-in
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. namespace PhpMyAdmin\Properties\Plugins;
  9. /**
  10. * Defines possible options and getters and setters for them.
  11. *
  12. * @package PhpMyAdmin
  13. */
  14. class SchemaPluginProperties extends PluginPropertyItem
  15. {
  16. /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
  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",
  24. * "import", "transformations" )
  25. *
  26. * @return string
  27. */
  28. public function getItemType()
  29. {
  30. return "schema";
  31. }
  32. /**
  33. * Gets the force file parameter
  34. *
  35. * @return bool
  36. */
  37. public function getForceFile()
  38. {
  39. return true;
  40. }
  41. }