@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @param string $sMod |
26 | 26 | * @param boolean $bPrint Print or Return the HTML code. Default TRUE |
27 | - * @return void |
|
27 | + * @return string|null |
|
28 | 28 | */ |
29 | 29 | public static function link($sMod, $bPrint = true) |
30 | 30 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * @param string $sPassword |
72 | 72 | * @param string $sTable Default 'Members' |
73 | 73 | * |
74 | - * @return mixed (boolean "true" or string "message") |
|
74 | + * @return string|boolean (boolean "true" or string "message") |
|
75 | 75 | */ |
76 | 76 | public function login($sEmail, $sPassword, $sTable = 'Members') |
77 | 77 | { |
@@ -420,6 +420,7 @@ discard block |
||
420 | 420 | * |
421 | 421 | * @param integer iProfileId |
422 | 422 | * @param integer $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away |
423 | + * @param integer $iProfileId |
|
423 | 424 | * |
424 | 425 | * @return void |
425 | 426 | */ |
@@ -1023,7 +1024,7 @@ discard block |
||
1023 | 1024 | * @param integer $iOffset |
1024 | 1025 | * @param integer $iLimit |
1025 | 1026 | * |
1026 | - * @return stdClass|integer Object with the users list returned or integer for the total number users returned. |
|
1027 | + * @return integer Object with the users list returned or integer for the total number users returned. |
|
1027 | 1028 | */ |
1028 | 1029 | public function getGeoProfiles($sCountry, $sCity, $bCount, $sOrder, $iOffset, $iLimit) |
1029 | 1030 | { |
@@ -335,7 +335,7 @@ |
||
335 | 335 | /** |
336 | 336 | * Get the list of modules that are possible to enable as the default system module. |
337 | 337 | * |
338 | - * @return array |
|
338 | + * @return string[] |
|
339 | 339 | */ |
340 | 340 | private static function getActivatableDefMods() |
341 | 341 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | * Gets the data cache. |
169 | 169 | * |
170 | 170 | * @param boolean $bPrint Default FALSE |
171 | - * @return boolean|integer|float|string|array|object Returns the converted cache value if successful, FALSE otherwise. |
|
171 | + * @return \stdClass Returns the converted cache value if successful, FALSE otherwise. |
|
172 | 172 | */ |
173 | 173 | public function get($bPrint = false) |
174 | 174 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | * |
187 | 187 | * @param string $sData |
188 | 188 | * |
189 | - * @return string|null|self If the cache is disabled, returns null, otherwise returns this class. |
|
189 | + * @return null|Cache If the cache is disabled, returns null, otherwise returns this class. |
|
190 | 190 | */ |
191 | 191 | public function put($sData) |
192 | 192 | { |
@@ -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 | { |