@@ -18,7 +18,6 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Emit a signal. |
| 20 | 20 | * |
| 21 | - * @param mixed $mVar [, string $... ] |
|
| 22 | 21 | * @return string |
| 23 | 22 | */ |
| 24 | 23 | public static function emit() |
@@ -316,7 +316,7 @@ |
||
| 316 | 316 | /** |
| 317 | 317 | * Check if Apache's mod_rewrite is installed. |
| 318 | 318 | * |
| 319 | - * @return bool |
|
| 319 | + * @return null|boolean |
|
| 320 | 320 | */ |
| 321 | 321 | function is_url_rewrite() |
| 322 | 322 | { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * @param string $sMod |
| 26 | 26 | * @param bool $bPrint Print or Return the HTML code. |
| 27 | 27 | * |
| 28 | - * @return void |
|
| 28 | + * @return string|null |
|
| 29 | 29 | */ |
| 30 | 30 | public static function link($sMod, $bPrint = true) |
| 31 | 31 | { |
@@ -17,8 +17,10 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Get Advertisements in the database. |
| 19 | 19 | * |
| 20 | - * @param int|null $mActive 1 = active otherwise null. Default value is 1. |
|
| 20 | + * @param integer $mActive 1 = active otherwise null. Default value is 1. |
|
| 21 | 21 | * @param string $sTable The table. |
| 22 | + * @param integer $iOffset |
|
| 23 | + * @param integer $iLimit |
|
| 22 | 24 | * |
| 23 | 25 | * @return \stdClass The advertisements data. |
| 24 | 26 | */ |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * @param int $iRecipientId |
| 88 | 88 | * @param string $sTable |
| 89 | 89 | * |
| 90 | - * @return array|bool|float|int|object|string |
|
| 90 | + * @return integer |
|
| 91 | 91 | */ |
| 92 | 92 | public function total($iRecipientId, $sTable) |
| 93 | 93 | { |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | // Abstract Class |
| 14 | 14 | class MailCoreModel extends Framework\Mvc\Model\Engine\Model |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @param string $iProfileId |
|
| 18 | + */ |
|
| 16 | 19 | public static function countUnreadMsg($iProfileId) |
| 17 | 20 | { |
| 18 | 21 | $rStmt = Db::getInstance()->prepare('SELECT COUNT(status) AS unread FROM' . Db::prefix('Messages') . |
@@ -457,6 +457,7 @@ discard block |
||
| 457 | 457 | * |
| 458 | 458 | * @param int iProfileId |
| 459 | 459 | * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away |
| 460 | + * @param integer $iProfileId |
|
| 460 | 461 | * |
| 461 | 462 | * @return void |
| 462 | 463 | */ |
@@ -1061,7 +1062,7 @@ discard block |
||
| 1061 | 1062 | * @param int $iOffset |
| 1062 | 1063 | * @param int $iLimit |
| 1063 | 1064 | * |
| 1064 | - * @return stdClass|int Object with the users list returned or integer for the total number users returned. |
|
| 1065 | + * @return integer Object with the users list returned or integer for the total number users returned. |
|
| 1065 | 1066 | */ |
| 1066 | 1067 | public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null) |
| 1067 | 1068 | { |
@@ -381,6 +381,9 @@ |
||
| 381 | 381 | ); |
| 382 | 382 | } |
| 383 | 383 | |
| 384 | + /** |
|
| 385 | + * @param integer $iStatus |
|
| 386 | + */ |
|
| 384 | 387 | private function _moderateRegistration($iId, $iStatus) |
| 385 | 388 | { |
| 386 | 389 | if (isset($iId, $iStatus)) { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param string $sApiParams Parameters to send to the API. |
| 85 | 85 | * @param string $sApiVersion Version of the API it will use. If fails from the API server, it will ignore it. |
| 86 | 86 | * |
| 87 | - * @return void |
|
| 87 | + * @return string|boolean |
|
| 88 | 88 | */ |
| 89 | 89 | private function getApiResults($sApiUrl, $sApiParams, $sApiVersion) |
| 90 | 90 | { |