Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / properties / plugins / ExportPluginProperties.class.php
blob617089718ed9a8ab8115e0dd1a64cee0f7222b96
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Properties class for the export 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 * @todo modify descriptions if needed, when the plug-in properties are integrated
19 * @package PhpMyAdmin
21 class ExportPluginProperties extends PluginPropertyItem
23 /**
24 * Text
26 * @var string
28 private $_text;
30 /**
31 * Extension
33 * @var string
35 private $_extension;
37 /**
38 * Options
40 * @var OptionsPropertyRootGroup
42 private $_options;
44 /**
45 * Options text
47 * @var string
49 private $_optionsText;
51 /**
52 * MIME Type
54 * @var string
56 private $_mimeType;
58 /**
59 * Whether to force or not
61 * @var bool
63 private $_forceFile;
66 /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
69 /**
70 * Returns the property item type of either an instance of
71 * - OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
72 * - OptionsPropertyGroup ( "root", "main" or "subgroup" )
73 * - PluginPropertyItem ( "export", "import", "transformations" )
75 * @return string
77 public function getItemType()
79 return "export";
82 /**
83 * Gets the text
85 * @return string
87 public function getText()
89 return $this->_text;
92 /**
93 * Sets the text
95 * @param string $text text
97 * @return void
99 public function setText($text)
101 $this->_text = $text;
105 * Gets the extension
107 * @return string
109 public function getExtension()
111 return $this->_extension;
115 * Sets the extension
117 * @param string $extension extension
119 * @return void
121 public function setExtension($extension)
123 $this->_extension = $extension;
127 * Gets the options
129 * @return OptionsPropertyRootGroup
131 public function getOptions()
133 return $this->_options;
137 * Sets the options
139 * @param OptionsPropertyRootGroup $options options
141 * @return void
143 public function setOptions($options)
145 $this->_options = $options;
149 * Gets the options text
151 * @return string
153 public function getOptionsText()
155 return $this->_optionsText;
159 * Sets the options text
161 * @param string $optionsText optionsText
163 * @return void
165 public function setOptionsText($optionsText)
167 $this->_optionsText = $optionsText;
171 * Gets the MIME type
173 * @return string
175 public function getMimeType()
177 return $this->_mimeType;
181 * Sets the MIME type
183 * @param string $mimeType MIME type
185 * @return void
187 public function setMimeType($mimeType)
189 $this->_mimeType = $mimeType;
193 * Gets the force file parameter
195 * @return bool
197 public function getForceFile()
199 return $this->_forceFile;
203 * Sets the force file parameter
205 * @param bool $forceFile the force file parameter
207 * @return void
209 public function setForceFile($forceFile)
211 $this->_forceFile = $forceFile;