@@ -113,6 +113,9 @@ |
||
| 113 | 113 | return $this->{'yylex' . $this->_yy_state}(); |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | + /** |
|
| 117 | + * @param integer $state |
|
| 118 | + */ |
|
| 116 | 119 | public function yypushstate($state) |
| 117 | 120 | { |
| 118 | 121 | if ($this->yyTraceFILE) { |
@@ -755,7 +755,7 @@ |
||
| 755 | 755 | /** |
| 756 | 756 | * get a Compiled Object of this source |
| 757 | 757 | * |
| 758 | - * @param Smarty_Internal_Template|Smarty_Internal_Config $_template template object |
|
| 758 | + * @param Smarty_Internal_Template $_template template object |
|
| 759 | 759 | * |
| 760 | 760 | * @return Smarty_Template_Compiled compiled object |
| 761 | 761 | */ |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * Convert table to Ads's ID. |
| 55 | 55 | * |
| 56 | 56 | * @param string $sTable |
| 57 | - * @return mixed (string or void if table is not valid) Returns the table if it is correct. |
|
| 57 | + * @return string (string or void if table is not valid) Returns the table if it is correct. |
|
| 58 | 58 | * @throws If the table is not valid, it throws an exception and displays an error message with the method \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() and exit(). |
| 59 | 59 | */ |
| 60 | 60 | public static function convertTableToId($sTable) |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Check table. |
| 21 | 21 | * |
| 22 | 22 | * @param string $sTable |
| 23 | - * @return mixed (string or void) Returns the table if it is correct. |
|
| 23 | + * @return string|null (string or void) Returns the table if it is correct. |
|
| 24 | 24 | * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() |
| 25 | 25 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
| 26 | 26 | */ |
@@ -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 null|string |
|
| 28 | 28 | */ |
| 29 | 29 | public static function link($sMod, $bPrint = true) |
| 30 | 30 | { |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * Gets the XML links. |
| 32 | 32 | * |
| 33 | - * @param integet $iNum Number of news to get. Default: 10 |
|
| 33 | + * @param integer $iNum Number of news to get. Default: 10 |
|
| 34 | 34 | * @return array The XML tree. |
| 35 | 35 | * @throws \PH7\Framework\Error\CException\PH7Exception If the Feed URL is not valid. |
| 36 | 36 | */ |
@@ -366,7 +366,7 @@ |
||
| 366 | 366 | * Check account status of profile. |
| 367 | 367 | * |
| 368 | 368 | * @param object $oDbProfileData User database object. |
| 369 | - * @return mixed (boolean | string) Returns a boolean TRUE if the account status is correct, otherwise returns an error message. |
|
| 369 | + * @return string|boolean (boolean | string) Returns a boolean TRUE if the account status is correct, otherwise returns an error message. |
|
| 370 | 370 | */ |
| 371 | 371 | public function checkAccountStatus($oDbProfileData) |
| 372 | 372 | { |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | class ResendActivationCoreFormProcess extends Form |
| 15 | 15 | { |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $sTable |
|
| 19 | + */ |
|
| 17 | 20 | public function __construct($sTable) |
| 18 | 21 | { |
| 19 | 22 | parent::__construct(); |
@@ -13,6 +13,10 @@ discard block |
||
| 13 | 13 | class AdminCoreModel extends UserCoreModel |
| 14 | 14 | { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param integer $iOffset |
|
| 18 | + * @param integer $iLimit |
|
| 19 | + */ |
|
| 16 | 20 | public function browse($iOffset, $iLimit, $sTable = 'Members') |
| 17 | 21 | { |
| 18 | 22 | Various::checkModelTable($sTable); |
@@ -30,6 +34,11 @@ discard block |
||
| 30 | 34 | return $rStmt->fetchAll(\PDO::FETCH_OBJ); |
| 31 | 35 | } |
| 32 | 36 | |
| 37 | + /** |
|
| 38 | + * @param boolean $bCount |
|
| 39 | + * @param null|integer $iOffset |
|
| 40 | + * @param null|integer $iLimit |
|
| 41 | + */ |
|
| 33 | 42 | public function searchUser($mWhat, $sWhere, $iGroupId, $iBanned, $bCount, $sOrderBy, $sSort, $iOffset, $iLimit) |
| 34 | 43 | { |
| 35 | 44 | $bCount = (bool) $bCount; |
@@ -70,6 +79,9 @@ discard block |
||
| 70 | 79 | } |
| 71 | 80 | } |
| 72 | 81 | |
| 82 | + /** |
|
| 83 | + * @param integer $iBan |
|
| 84 | + */ |
|
| 73 | 85 | public function ban($iProfileId, $iBan, $sTable = 'Members') |
| 74 | 86 | { |
| 75 | 87 | Various::checkModelTable($sTable); |