@@ -38,7 +38,7 @@ |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param char $cFormat |
|
| 41 | + * @param string $cFormat |
|
| 42 | 42 | * @param string $sDate |
| 43 | 43 | * @return string |
| 44 | 44 | * @throws \PH7\Framework\Date\Exception If the date format is incorrect. |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * @desc Add a role |
| 32 | 32 | * @param string $sName |
| 33 | - * @return object Instance of Role |
|
| 33 | + * @return Role Instance of Role |
|
| 34 | 34 | */ |
| 35 | 35 | public function addRole($sName) |
| 36 | 36 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * @desc Add a resource |
| 47 | 47 | * @param string $sName |
| 48 | 48 | * @param array $aAllowed |
| 49 | - * @return object Instance of Resource |
|
| 49 | + * @return Resource Instance of Resource |
|
| 50 | 50 | */ |
| 51 | 51 | public function addResource($sName, array $aAllowed) |
| 52 | 52 | { |
@@ -361,7 +361,6 @@ |
||
| 361 | 361 | * For all the parameters : http://code.google.com/intl/fr-FR/apis/analytics/docs/gdata/gdataReferenceDataFeed.html |
| 362 | 362 | * |
| 363 | 363 | * @param string $metrics the metrics |
| 364 | - * @param string $uri the url of the website page (ex : /myurl/) |
|
| 365 | 364 | * |
| 366 | 365 | * @return array |
| 367 | 366 | */ |
@@ -229,6 +229,7 @@ |
||
| 229 | 229 | /** |
| 230 | 230 | * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character. |
| 231 | 231 | * |
| 232 | + * @param string $c |
|
| 232 | 233 | * @return bool |
| 233 | 234 | */ |
| 234 | 235 | protected function isAlphaNum($c) |
@@ -198,6 +198,9 @@ |
||
| 198 | 198 | $this->form = $form; |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | + /** |
|
| 202 | + * @param string $id |
|
| 203 | + */ |
|
| 201 | 204 | public function setID($id) |
| 202 | 205 | { |
| 203 | 206 | $this->attributes['id'] = $id; |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | * Get Time text. |
| 115 | 115 | * |
| 116 | 116 | * @param integer $iWaitTime |
| 117 | - * @return integer |
|
| 117 | + * @return string |
|
| 118 | 118 | */ |
| 119 | 119 | private static function _getTimeText($iWaitTime) |
| 120 | 120 | { |
@@ -357,7 +357,7 @@ |
||
| 357 | 357 | /** |
| 358 | 358 | * Set CSS/JS variables. |
| 359 | 359 | * |
| 360 | - * @param array $aVars Variable names containing the values. |
|
| 360 | + * @param array $aVals Variable names containing the values. |
|
| 361 | 361 | * @return void |
| 362 | 362 | */ |
| 363 | 363 | private function _setVariables(array $aVals) |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * |
| 377 | 377 | * @param string $sTplFile Default NULL |
| 378 | 378 | * @param string $sDirPath Default NULL |
| 379 | - * @param string $_bInclude Default 1 (TRUE) |
|
| 379 | + * @param integer $_bInclude Default 1 (TRUE) |
|
| 380 | 380 | * @return string |
| 381 | 381 | * @throws \PH7\Framework\Layout\Tpl\Engine\PH7Tpl\Exception If the template file does no exist. |
| 382 | 382 | */ |
@@ -562,7 +562,7 @@ discard block |
||
| 562 | 562 | * |
| 563 | 563 | * @see __get() |
| 564 | 564 | * |
| 565 | - * @param $sVarName string Name of a variable that is to be retrieved. |
|
| 565 | + * @param string $sVarName string Name of a variable that is to be retrieved. |
|
| 566 | 566 | * @return mixed Value of that variable. |
| 567 | 567 | */ |
| 568 | 568 | public function getVar($sVarName) |
@@ -585,7 +585,7 @@ discard block |
||
| 585 | 585 | * |
| 586 | 586 | * If the folder compile does not exist, it creates a folder. |
| 587 | 587 | * @access private |
| 588 | - * @return object this |
|
| 588 | + * @return PH7Tpl this |
|
| 589 | 589 | */ |
| 590 | 590 | private function checkCompileDir() |
| 591 | 591 | { |
@@ -598,7 +598,7 @@ discard block |
||
| 598 | 598 | * |
| 599 | 599 | * If the folder cache does not exist, it creates a folder. |
| 600 | 600 | * @access private |
| 601 | - * @return object this |
|
| 601 | + * @return PH7Tpl this |
|
| 602 | 602 | */ |
| 603 | 603 | private function checkCacheDir() |
| 604 | 604 | { |
@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | /** |
| 785 | 785 | * Get the reserved variables. |
| 786 | 786 | * |
| 787 | - * @return array |
|
| 787 | + * @return string[] |
|
| 788 | 788 | */ |
| 789 | 789 | public function getReservedWords() |
| 790 | 790 | { |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl). |
| 848 | 848 | * |
| 849 | 849 | * @access private |
| 850 | - * @return boolean |
|
| 850 | + * @return integer |
|
| 851 | 851 | */ |
| 852 | 852 | private function isMainPage() |
| 853 | 853 | { |
@@ -858,7 +858,7 @@ discard block |
||
| 858 | 858 | * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php). |
| 859 | 859 | * |
| 860 | 860 | * @access private |
| 861 | - * @return boolean |
|
| 861 | + * @return integer |
|
| 862 | 862 | */ |
| 863 | 863 | final private function isMainCompilePage() |
| 864 | 864 | { |
@@ -869,7 +869,7 @@ discard block |
||
| 869 | 869 | * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php). |
| 870 | 870 | * |
| 871 | 871 | * @access private |
| 872 | - * @return boolean |
|
| 872 | + * @return integer |
|
| 873 | 873 | */ |
| 874 | 874 | final private function isXmlSitemapCompilePage() |
| 875 | 875 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * @see get() |
| 36 | 36 | * |
| 37 | 37 | * @param boolean $bPrint Default FALSE |
| 38 | - * @return void |
|
| 38 | + * @return null|string |
|
| 39 | 39 | */ |
| 40 | 40 | public function display($bPrint = false) |
| 41 | 41 | { |