Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / phpmyadmin / libraries / properties / options / OptionsPropertyOneItem.class.php
blobe19c15cd4f33c8c4328ee42ca587b364aa81ee30
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Superclass for the single Property Item classes.
6 * @package PhpMyAdmin
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
12 /* This class extends the OptionsPropertyItem class */
13 require_once 'OptionsPropertyItem.class.php';
15 /**
16 * Parents only single property items (not groups).
17 * Defines possible options and getters and setters for them.
19 * @package PhpMyAdmin
21 abstract class OptionsPropertyOneItem extends OptionsPropertyItem
23 /**
24 * Whether to force or not
26 * @var bool
28 private $_force;
30 /**
31 * Values
33 * @var array
35 private $_values;
37 /**
38 * Doc
40 * @var string
42 private $_doc;
44 /**
45 * Length
47 * @var int
49 private $_len;
51 /**
52 * Size
54 * @var int
56 private $_size;
59 /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
62 /**
63 * Gets the force parameter
65 * @return string
67 public function getForce()
69 return $this->_force;
72 /**
73 * Sets the force parameter
75 * @param bool $force force parameter
77 * @return void
79 public function setForce($force)
81 $this->_force = $force;
84 /**
85 * Gets the values
87 * @return string
89 public function getValues()
91 return $this->_values;
94 /**
95 * Sets the values
97 * @param array $values values
99 * @return void
101 public function setValues($values)
103 $this->_values = $values;
107 * Gets the type of the newline character
109 * @return string
111 public function getDoc()
113 return $this->_doc;
117 * Sets the doc
119 * @param string $doc doc
121 * @return void
123 public function setDoc($doc)
125 $this->_doc = $doc;
129 * Gets the length
131 * @return int
133 public function getLen()
135 return $this->_len;
139 * Sets the length
141 * @param int $len length
143 * @return void
145 public function setLen($len)
147 $this->_len = $len;
151 * Gets the size
153 * @return int
155 public function getSize()
157 return $this->_size;
161 * Sets the size
163 * @param int $size size
165 * @return void
167 public function setSize($size)
169 $this->_size = $size;