@@ -157,6 +157,9 @@ |
||
157 | 157 | return self::$showQueries; |
158 | 158 | } |
159 | 159 | |
160 | + /** |
|
161 | + * @param boolean $showQueries |
|
162 | + */ |
|
160 | 163 | public static function setShowQueries($showQueries) |
161 | 164 | { |
162 | 165 | self::$showQueries = $showQueries; |
@@ -40,6 +40,9 @@ discard block |
||
40 | 40 | return $this->showQueries; |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param boolean $showQueries |
|
45 | + */ |
|
43 | 46 | public function setShowQueries($showQueries) |
44 | 47 | { |
45 | 48 | $this->showQueries = $showQueries; |
@@ -366,6 +369,9 @@ discard block |
||
366 | 369 | ); |
367 | 370 | } |
368 | 371 | |
372 | + /** |
|
373 | + * @param integer $errorLevel |
|
374 | + */ |
|
369 | 375 | public function oldQuery($sql, $errorLevel = E_USER_ERROR) |
370 | 376 | { |
371 | 377 | return $this->realConn->query($sql, $errorLevel); |
@@ -35,6 +35,9 @@ discard block |
||
35 | 35 | return $this->showQueries; |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param boolean $showQueries |
|
40 | + */ |
|
38 | 41 | public function setShowQueries($showQueries) |
39 | 42 | { |
40 | 43 | $this->showQueries = $showQueries; |
@@ -338,6 +341,9 @@ discard block |
||
338 | 341 | ); |
339 | 342 | } |
340 | 343 | |
344 | + /** |
|
345 | + * @param integer $errorLevel |
|
346 | + */ |
|
341 | 347 | public function oldQuery($sql, $errorLevel = E_USER_ERROR) |
342 | 348 | { |
343 | 349 | return $this->realConn->query($sql, $errorLevel); |
@@ -480,6 +486,9 @@ discard block |
||
480 | 486 | ); |
481 | 487 | } |
482 | 488 | |
489 | + /** |
|
490 | + * @param string $table |
|
491 | + */ |
|
483 | 492 | public function fieldList($table) |
484 | 493 | { |
485 | 494 | return call_user_func_array( |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @param SS_HTTPRequest $request Request container object |
13 | 13 | * @param Session $session Request session |
14 | 14 | * @param DataModel $model Current DataModel |
15 | - * @return boolean Whether to continue processing other filters. Null or true will continue processing (optional) |
|
15 | + * @return boolean|null Whether to continue processing other filters. Null or true will continue processing (optional) |
|
16 | 16 | */ |
17 | 17 | public function preRequest(SS_HTTPRequest $request, Session $session, DataModel $model) |
18 | 18 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param SS_HTTPRequest $request Request container object |
41 | 41 | * @param SS_HTTPResponse $response Response output object |
42 | 42 | * @param DataModel $model Current DataModel |
43 | - * @return boolean Whether to continue processing other filters. Null or true will continue processing (optional) |
|
43 | + * @return boolean|null Whether to continue processing other filters. Null or true will continue processing (optional) |
|
44 | 44 | */ |
45 | 45 | public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model) |
46 | 46 | { |
@@ -393,6 +393,9 @@ |
||
393 | 393 | ); |
394 | 394 | } |
395 | 395 | |
396 | + /** |
|
397 | + * @param string $string |
|
398 | + */ |
|
396 | 399 | protected static function getQuotedString($string) |
397 | 400 | { |
398 | 401 | $ret = null; |