@@ -200,8 +200,7 @@ |
||
| 200 | 200 | * Write-enable the specified file/folder |
| 201 | 201 | * @param string $path |
| 202 | 202 | * @param string $group |
| 203 | - * @param bool $recurse |
|
| 204 | - * @return false on failure, method (u-ser,g-roup,w-orld) on success |
|
| 203 | + * @return false|string on failure, method (u-ser,g-roup,w-orld) on success |
|
| 205 | 204 | */ |
| 206 | 205 | function makeWritable( $path, $group = false, $create = true ) |
| 207 | 206 | { |
@@ -184,6 +184,12 @@ |
||
| 184 | 184 | return $this->db->fetchArray($ret); |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | + /** |
|
| 188 | + * @param string $table |
|
| 189 | + * @param string $query |
|
| 190 | + * |
|
| 191 | + * @return string |
|
| 192 | + */ |
|
| 187 | 193 | function insert($table, $query) |
| 188 | 194 | { |
| 189 | 195 | $this->db->connect(); |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * |
| 40 | 40 | * @param string $text text string to filter |
| 41 | 41 | * |
| 42 | - * @return mixed |
|
| 42 | + * @return string |
|
| 43 | 43 | */ |
| 44 | 44 | public function applyFilter($text) |
| 45 | 45 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | class XcaptchaTextForm extends Xoops\Form\ThemeForm |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param null $obj |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct($object = null) |
| 26 | 25 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | class XcaptchaTextForm extends Xoops\Form\ThemeForm |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param null $obj |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct($object = null) |
| 26 | 25 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | class XcaptchaTextForm extends Xoops\Form\ThemeForm |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param null $obj |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct($object = null) |
| 26 | 25 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * |
| 40 | 40 | * @param string $text text string to filter |
| 41 | 41 | * |
| 42 | - * @return mixed |
|
| 42 | + * @return string |
|
| 43 | 43 | */ |
| 44 | 44 | public function applyFilter($text) |
| 45 | 45 | { |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | return false; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $sql |
|
| 31 | + */ |
|
| 29 | 32 | function query($sql) |
| 30 | 33 | { |
| 31 | 34 | //echo $sql . "<br />"; |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | return false; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $sql |
|
| 31 | + */ |
|
| 29 | 32 | function query($sql) |
| 30 | 33 | { |
| 31 | 34 | //echo $sql . "<br />"; |