@@ -6,6 +6,10 @@ |
||
| 6 | 6 | { |
| 7 | 7 | public $_data; |
| 8 | 8 | |
| 9 | + /** |
|
| 10 | + * @param string $name |
|
| 11 | + * @param integer $size |
|
| 12 | + */ |
|
| 9 | 13 | public function __construct($name, $multiple = false, $size = null) |
| 10 | 14 | { |
| 11 | 15 | parent::__construct(); |
@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | $this->_element = $this->is_element(); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $style |
|
| 37 | + */ |
|
| 35 | 38 | public function set_style($style) |
| 36 | 39 | { |
| 37 | 40 | $this->set_attribute('style', $style); |
@@ -85,6 +88,9 @@ discard block |
||
| 85 | 88 | echo $this->fetch(); |
| 86 | 89 | } |
| 87 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $attr |
|
| 93 | + */ |
|
| 88 | 94 | public function set_attribute($attr, $value) |
| 89 | 95 | { |
| 90 | 96 | $this->_attributes[$attr] = $value; |