@@ -184,6 +184,10 @@ |
||
| 184 | 184 | return $_html_result; |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | +/** |
|
| 188 | + * @param string|null $id |
|
| 189 | + * @param integer $idx |
|
| 190 | + */ |
|
| 187 | 191 | function smarty_function_html_options_optgroup($key, $values, $selected, $id, $class, &$idx) |
| 188 | 192 | { |
| 189 | 193 | $optgroup_html = '<optgroup label="' . smarty_function_escape_special_chars($key) . '">' . "\n"; |
@@ -164,6 +164,10 @@ |
||
| 164 | 164 | return $output; |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | +/** |
|
| 168 | + * @param string $name |
|
| 169 | + * @param string $var |
|
| 170 | + */ |
|
| 167 | 171 | function smarty_function_html_table_cycle($name, $var, $no) |
| 168 | 172 | { |
| 169 | 173 | if (!is_array($var)) { |
@@ -142,6 +142,9 @@ |
||
| 142 | 142 | return $this->totalComments('Game', $iDay); |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $sTable |
|
| 147 | + */ |
|
| 145 | 148 | protected function totalComments($sTable, $iDay = 0) |
| 146 | 149 | { |
| 147 | 150 | CommentCore::checkTable($sTable); |
@@ -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 | */ |
@@ -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 | { |
@@ -585,7 +585,7 @@ |
||
| 585 | 585 | * things like j a v a s c r i p t |
| 586 | 586 | * |
| 587 | 587 | * @param type |
| 588 | - * @return type |
|
| 588 | + * @return string |
|
| 589 | 589 | */ |
| 590 | 590 | protected function _compact_exploded_words($matches) |
| 591 | 591 | { |
@@ -27,6 +27,10 @@ discard block |
||
| 27 | 27 | private $privateKey; |
| 28 | 28 | |
| 29 | 29 | // Creates a new signer from a .p12 file. |
| 30 | + |
|
| 31 | + /** |
|
| 32 | + * @param string $password |
|
| 33 | + */ |
|
| 30 | 34 | function __construct($p12, $password) { |
| 31 | 35 | if (!function_exists('openssl_x509_read')) { |
| 32 | 36 | throw new Exception( |
@@ -57,6 +61,9 @@ discard block |
||
| 57 | 61 | } |
| 58 | 62 | } |
| 59 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $data |
|
| 66 | + */ |
|
| 60 | 67 | function sign($data) { |
| 61 | 68 | if(version_compare(PHP_VERSION, '5.3.0') < 0) { |
| 62 | 69 | throw new Google_AuthException( |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | * Verifies the signature on data. |
| 52 | 52 | * |
| 53 | 53 | * Returns true if the signature is valid, false otherwise. |
| 54 | - * @param $data |
|
| 55 | - * @param $signature |
|
| 54 | + * @param string $data |
|
| 55 | + * @param string $signature |
|
| 56 | 56 | * @throws Google_AuthException |
| 57 | 57 | * @return bool |
| 58 | 58 | */ |