SchemaPluginProperties.class.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. if (! defined('PHPMYADMIN')) {
  9. exit;
  10. }
  11. /* This class extends the PluginPropertyItem class */
  12. require_once 'PluginPropertyItem.class.php';
  13. /**
  14. * Defines possible options and getters and setters for them.
  15. *
  16. * @package PhpMyAdmin
  17. */
  18. class SchemaPluginProperties extends PluginPropertyItem
  19. {
  20. /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
  21. /**
  22. * Returns the property item type of either an instance of
  23. * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
  24. * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
  25. * - PluginPropertyItem ( "export", "import", "transformations" )
  26. *
  27. * @return string
  28. */
  29. public function getItemType()
  30. {
  31. return "schema";
  32. }
  33. /**
  34. * Gets the force file parameter
  35. *
  36. * @return bool
  37. */
  38. public function getForceFile()
  39. {
  40. return true;
  41. }
  42. }