Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / phpmyadmin / libraries / properties / plugins / ImportPluginProperties.class.php
blob65c3092cffd3da0ad719574a8ad212f82a4ec2e7
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Properties class for the import plug-in
6 * @package PhpMyAdmin
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
12 /* This class extends the PluginPropertyItem class */
13 require_once 'PluginPropertyItem.class.php';
15 /**
16 * Defines possible options and getters and setters for them.
18 * @package PhpMyAdmin
20 class ImportPluginProperties extends PluginPropertyItem
22 /**
23 * Text
25 * @var string
27 private $_text;
29 /**
30 * Extension
32 * @var string
34 private $_extension;
36 /**
37 * Options
39 * @var OptionsPropertyRootGroup
41 private $_options;
43 /**
44 * Options text
46 * @var string
48 private $_optionsText;
50 /**
51 * MIME Type
53 * @var string
55 private $_mimeType;
58 /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
61 /**
62 * Returns the property item type of either an instance of
63 * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
64 * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
65 * - PluginPropertyItem ( "export", "import", "transformations" )
67 * @return string
69 public function getItemType()
71 return "import";
74 /**
75 * Gets the text
77 * @return string
79 public function getText()
81 return $this->_text;
84 /**
85 * Sets the text
87 * @param string $text text
89 * @return void
91 public function setText($text)
93 $this->_text = $text;
96 /**
97 * Gets the extension
99 * @return string
101 public function getExtension()
103 return $this->_extension;
107 * Sets the extension
109 * @param string $extension extension
111 * @return void
113 public function setExtension($extension)
115 $this->_extension = $extension;
119 * Gets the options
121 * @return OptionsPropertyRootGroup
123 public function getOptions()
125 return $this->_options;
129 * Sets the options
131 * @param OptionsPropertyRootGroup $options options
133 * @return void
135 public function setOptions($options)
137 $this->_options = $options;
141 * Gets the options text
143 * @return string
145 public function getOptionsText()
147 return $this->_optionsText;
151 * Sets the options text
153 * @param string $optionsText options text
155 * @return void
157 public function setOptionsText($optionsText)
159 $this->_optionsText = $optionsText;
163 * Gets the MIME type
165 * @return string
167 public function getMimeType()
169 return $this->_mimeType;
173 * Sets the MIME type
175 * @param string $mimeType MIME type
177 * @return void
179 public function setMimeType($mimeType)
181 $this->_mimeType = $mimeType;