@@ -181,6 +181,7 @@ |
||
| 181 | 181 | * For all classes, hack to remove the namespace, slash and backslash. |
| 182 | 182 | * |
| 183 | 183 | * @param string The class name to clean. |
| 184 | + * @param string $sClass |
|
| 184 | 185 | * |
| 185 | 186 | * @return string The class cleaned. |
| 186 | 187 | */ |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * |
| 41 | 41 | * @param array $aData |
| 42 | 42 | * |
| 43 | - * @return integer The ID of the Admin. |
|
| 43 | + * @return string The ID of the Admin. |
|
| 44 | 44 | */ |
| 45 | 45 | public function add(array $aData) |
| 46 | 46 | { |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | * @param string $sMessage |
| 97 | 97 | * @param string $sCreatedDate |
| 98 | 98 | * |
| 99 | - * @return boolean|integer Returns the ID of the message on success or FALSE on failure. |
|
| 99 | + * @return string Returns the ID of the message on success or FALSE on failure. |
|
| 100 | 100 | */ |
| 101 | 101 | public function sendMsg($iSender, $iRecipient, $sTitle, $sMessage, $sCreatedDate) |
| 102 | 102 | { |
@@ -388,6 +388,7 @@ |
||
| 388 | 388 | /** |
| 389 | 389 | * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character. |
| 390 | 390 | * |
| 391 | + * @param string $c |
|
| 391 | 392 | * @return bool |
| 392 | 393 | */ |
| 393 | 394 | protected function isAlphaNum($c) |
@@ -45,6 +45,7 @@ discard block |
||
| 45 | 45 | private function __construct() {} |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | + * @param string $sDsn |
|
| 48 | 49 | * @return Db Returns the PDO instance class or create initial connection. |
| 49 | 50 | */ |
| 50 | 51 | public static function getInstance($sDsn = NULL, $sUsername = NULL, $sPassword = NULL, $aDriverOptions = NULL, $sPrefix = NULL) |
@@ -292,7 +293,7 @@ discard block |
||
| 292 | 293 | /** |
| 293 | 294 | * Count the number of requests. |
| 294 | 295 | * |
| 295 | - * @return float number |
|
| 296 | + * @return integer number |
|
| 296 | 297 | */ |
| 297 | 298 | public static function queryCount() |
| 298 | 299 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @param string $sVar |
| 34 | 34 | * |
| 35 | - * @return The new parsed text |
|
| 35 | + * @return string new parsed text |
|
| 36 | 36 | */ |
| 37 | 37 | public function parse($sVar) |
| 38 | 38 | { |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @return bool |
|
| 95 | + * @return integer |
|
| 96 | 96 | */ |
| 97 | 97 | private function notParsingVars() |
| 98 | 98 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * Build the log message. |
| 75 | 75 | * |
| 76 | 76 | * @access protected |
| 77 | - * @return object this |
|
| 77 | + * @return Logger this |
|
| 78 | 78 | */ |
| 79 | 79 | protected function setLogMsg() |
| 80 | 80 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * Blocking IP address. |
| 116 | 116 | * |
| 117 | 117 | * @access protected |
| 118 | - * @return object this |
|
| 118 | + * @return Logger this |
|
| 119 | 119 | */ |
| 120 | 120 | protected function blockIp() |
| 121 | 121 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * Write a log file with the hacher information. |
| 130 | 130 | * |
| 131 | 131 | * @access protected |
| 132 | - * @return object this |
|
| 132 | + * @return Logger this |
|
| 133 | 133 | */ |
| 134 | 134 | protected function writeFile() |
| 135 | 135 | { |
@@ -61,6 +61,9 @@ |
||
| 61 | 61 | return (!empty($iId)) ? $rStmt->fetch(PDO::FETCH_OBJ) : $rStmt->fetchAll(PDO::FETCH_OBJ); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $iReportId |
|
| 66 | + */ |
|
| 64 | 67 | public function delete($iReportId) |
| 65 | 68 | { |
| 66 | 69 | $rStmt = Db::getInstance()->prepare('DELETE FROM' . Db::prefix('Report') . 'WHERE reportId = :reportId LIMIT 1'); |
@@ -204,7 +204,6 @@ |
||
| 204 | 204 | /** |
| 205 | 205 | * Language helper function. |
| 206 | 206 | * |
| 207 | - * @param string $sVar [, string $... ] |
|
| 208 | 207 | * |
| 209 | 208 | * @return string Returns the text with gettext function or language in an array (this depends on whether a key language was found in the language table). |
| 210 | 209 | */ |