@@ -66,7 +66,7 @@ |
||
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | 68 | * Outputs JavaScript code that will reload the browser |
| 69 | - * @param $database True if dropping a database, false otherwise |
|
| 69 | + * @param boolean $database True if dropping a database, false otherwise |
|
| 70 | 70 | * @param $do_print true to echo, false to return; |
| 71 | 71 | */ |
| 72 | 72 | public function printReload($database, $do_print = true) |
@@ -24,6 +24,10 @@ |
||
| 24 | 24 | public $_title = 'base'; |
| 25 | 25 | |
| 26 | 26 | /* Constructor */ |
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @param string $controller_name |
|
| 30 | + */ |
|
| 27 | 31 | public function __construct(\Slim\Container $container, $controller_name = null) |
| 28 | 32 | { |
| 29 | 33 | $this->container = $container; |
@@ -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; |