Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / properties / options / OptionsPropertyItem.class.php
bloba1718a2fcedd097832fdb57b48f8df3be64d1558
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * The top-level class of the "Options" subtree of the object-oriented
5 * properties system (the other subtree is "Plugin").
7 * @package PhpMyAdmin
8 */
9 if (! defined('PHPMYADMIN')) {
10 exit;
13 /* This class extends the PropertyItem class */
14 require_once 'libraries/properties/PropertyItem.class.php';
16 /**
17 * Superclass for
18 * - OptionsPropertyOneItem and
19 * - OptionsProperty Group
21 * @package PhpMyAdmin
23 abstract class OptionsPropertyItem extends PropertyItem
25 /**
26 * Name
28 * @var string
30 private $_name;
32 /**
33 * Text
35 * @var string
37 private $_text;
39 /**
40 * What to force
42 * @var string
44 private $_force;
48 /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
51 /**
52 * Gets the name
54 * @return string
56 public function getName()
58 return $this->_name;
61 /**
62 * Sets the name
64 * @param string $name name
66 * @return void
68 public function setName($name)
70 $this->_name = $name;
73 /**
74 * Gets the text
76 * @return string
78 public function getText()
80 return $this->_text;
83 /**
84 * Sets the text
86 * @param string $text text
88 * @return void
90 public function setText($text)
92 $this->_text = $text;
95 /**
96 * Gets the force parameter
98 * @return string
100 public function getForce()
102 return $this->_force;
106 * Sets the force paramter
108 * @param string $force force parameter
110 * @return void
112 public function setForce($force)
114 $this->_force = $force;
118 * Returns the property type ( either "options", or "plugin" ).
120 * @return string
122 public function getPropertyType()
124 return "options";