@@ -2,6 +2,9 @@ |
||
2 | 2 | |
3 | 3 | class View extends View_Core |
4 | 4 | { |
5 | + /** |
|
6 | + * @param string|null $name |
|
7 | + */ |
|
5 | 8 | public function __construct($name, $data = null, $type = null) |
6 | 9 | { |
7 | 10 | $smarty_ext = Kohana::config('smarty.templates_ext'); |
@@ -42,6 +42,7 @@ |
||
42 | 42 | * Set a benchmark stop point. |
43 | 43 | * |
44 | 44 | * @param string benchmark name |
45 | + * @param string|boolean $name |
|
45 | 46 | * @return void |
46 | 47 | */ |
47 | 48 | public static function stop($name) |
@@ -7,6 +7,7 @@ |
||
7 | 7 | * @copyright (c) 2007 Kohana Team |
8 | 8 | * @copyright (c) 2005 Harry Fuecks |
9 | 9 | * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt |
10 | + * @param string $str |
|
10 | 11 | */ |
11 | 12 | function _ltrim($str, $charlist = null) |
12 | 13 | { |
@@ -7,6 +7,7 @@ |
||
7 | 7 | * @copyright (c) 2007 Kohana Team |
8 | 8 | * @copyright (c) 2005 Harry Fuecks |
9 | 9 | * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt |
10 | + * @param string $str |
|
10 | 11 | */ |
11 | 12 | function _str_split($str, $split_length = 1) |
12 | 13 | { |
@@ -303,6 +303,7 @@ |
||
303 | 303 | * @param resource database link |
304 | 304 | * @param boolean return objects or arrays |
305 | 305 | * @param string SQL query that was run |
306 | + * @param string $sql |
|
306 | 307 | */ |
307 | 308 | public function __construct($result, $link, $object = true, $sql) |
308 | 309 | { |
@@ -330,6 +330,7 @@ |
||
330 | 330 | * @param boolean return objects or arrays |
331 | 331 | * @param string SQL query that was run |
332 | 332 | * @param resource $result |
333 | + * @param string $sql |
|
333 | 334 | */ |
334 | 335 | public function __construct($result, $link, $object = true, $sql) |
335 | 336 | { |
@@ -278,6 +278,7 @@ |
||
278 | 278 | * @param string SQL query that was run |
279 | 279 | * @param PDOStatement $result |
280 | 280 | * @param PDO $link |
281 | + * @param string $sql |
|
281 | 282 | */ |
282 | 283 | public function __construct($result, $link, $object = true, $sql) |
283 | 284 | { |
@@ -297,6 +297,7 @@ |
||
297 | 297 | * @param resource database link |
298 | 298 | * @param boolean return objects or arrays |
299 | 299 | * @param string SQL query that was run |
300 | + * @param string $sql |
|
300 | 301 | */ |
301 | 302 | public function __construct($result, $link, $object = true, $sql) |
302 | 303 | { |
@@ -178,7 +178,7 @@ |
||
178 | 178 | * Check if an option flag has been set |
179 | 179 | * @param string Option name |
180 | 180 | * @param integer $option |
181 | - * @return boolean |
|
181 | + * @return integer |
|
182 | 182 | */ |
183 | 183 | public function hasOption($option) |
184 | 184 | { |