@@ -486,6 +486,9 @@ |
||
| 486 | 486 | return false; |
| 487 | 487 | } |
| 488 | 488 | |
| 489 | + /** |
|
| 490 | + * @param string $catalogue |
|
| 491 | + */ |
|
| 489 | 492 | protected function createMessageTemplate($catalogue) |
| 490 | 493 | { |
| 491 | 494 | if($catalogue === null) { |
@@ -170,6 +170,7 @@ |
||
| 170 | 170 | * @param int the number formatting type, it should be |
| 171 | 171 | * NumberFormatInfo::DECIMAL, NumberFormatInfo::CURRENCY, |
| 172 | 172 | * NumberFormatInfo::PERCENTAGE, or NumberFormatInfo::SCIENTIFIC |
| 173 | + * @param integer $type |
|
| 173 | 174 | * @return NumberFormatInfo NumberFormatInfo for the specified |
| 174 | 175 | * culture. |
| 175 | 176 | * @see getCurrencyInstance(); |
@@ -485,6 +485,8 @@ |
||
| 485 | 485 | /** |
| 486 | 486 | * |
| 487 | 487 | * @access private |
| 488 | + * @param string $id |
|
| 489 | + * @param string $data |
|
| 488 | 490 | */ |
| 489 | 491 | function _memoryCacheAdd($id, $data) |
| 490 | 492 | { |
@@ -29,6 +29,7 @@ discard block |
||
| 29 | 29 | * send a note to [email protected] so we can mail you a copy immediately. |
| 30 | 30 | * |
| 31 | 31 | * @param string DSN format, similar to PEAR's DB |
| 32 | + * @param string $dsn |
|
| 32 | 33 | * @return array DSN information. |
| 33 | 34 | * @author Stig Bakken <[email protected]> |
| 34 | 35 | * @author Tomas V.V.Cox <[email protected]> |
@@ -172,7 +173,7 @@ discard block |
||
| 172 | 173 | /** |
| 173 | 174 | * Convert UTF-8 strings to a different encoding. NB. The result |
| 174 | 175 | * may not have been encoded if iconv fails. |
| 175 | - * @param string the UTF-8 string for conversion |
|
| 176 | + * @param string string UTF-8 string for conversion |
|
| 176 | 177 | * @return string encoded string. |
| 177 | 178 | */ |
| 178 | 179 | function I18N_toEncoding($string, $to) |
@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * Initializes the module. |
| 25 | 25 | * @param TXmlElement the configuration for the module |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function init($config); |
| 28 | 29 | /** |
@@ -31,6 +32,7 @@ discard block |
||
| 31 | 32 | public function getID(); |
| 32 | 33 | /** |
| 33 | 34 | * @param string ID of the module |
| 35 | + * @return void |
|
| 34 | 36 | */ |
| 35 | 37 | public function setID($id); |
| 36 | 38 | } |
@@ -49,6 +51,7 @@ discard block |
||
| 49 | 51 | /** |
| 50 | 52 | * Initializes the service. |
| 51 | 53 | * @param TXmlElement the configuration for the service |
| 54 | + * @return void |
|
| 52 | 55 | */ |
| 53 | 56 | public function init($config); |
| 54 | 57 | /** |
@@ -57,6 +60,7 @@ discard block |
||
| 57 | 60 | public function getID(); |
| 58 | 61 | /** |
| 59 | 62 | * @param string ID of the service |
| 63 | + * @return void |
|
| 60 | 64 | */ |
| 61 | 65 | public function setID($id); |
| 62 | 66 | /** |
@@ -65,10 +69,12 @@ discard block |
||
| 65 | 69 | public function getEnabled(); |
| 66 | 70 | /** |
| 67 | 71 | * @param boolean whether the service is enabled |
| 72 | + * @return void |
|
| 68 | 73 | */ |
| 69 | 74 | public function setEnabled($value); |
| 70 | 75 | /** |
| 71 | 76 | * Runs the service. |
| 77 | + * @return void |
|
| 72 | 78 | */ |
| 73 | 79 | public function run(); |
| 74 | 80 | } |
@@ -87,6 +93,7 @@ discard block |
||
| 87 | 93 | /** |
| 88 | 94 | * Writes a string. |
| 89 | 95 | * @param string string to be written |
| 96 | + * @return void |
|
| 90 | 97 | */ |
| 91 | 98 | public function write($str); |
| 92 | 99 | /** |
@@ -113,6 +120,7 @@ discard block |
||
| 113 | 120 | public function getName(); |
| 114 | 121 | /** |
| 115 | 122 | * @param string username |
| 123 | + * @return void |
|
| 116 | 124 | */ |
| 117 | 125 | public function setName($value); |
| 118 | 126 | /** |
@@ -121,6 +129,8 @@ discard block |
||
| 121 | 129 | public function getIsGuest(); |
| 122 | 130 | /** |
| 123 | 131 | * @param boolean if the user is a guest |
| 132 | + * @param boolean $value |
|
| 133 | + * @return void |
|
| 124 | 134 | */ |
| 125 | 135 | public function setIsGuest($value); |
| 126 | 136 | /** |
@@ -167,6 +177,7 @@ discard block |
||
| 167 | 177 | /** |
| 168 | 178 | * Saves state into a persistent storage. |
| 169 | 179 | * @param mixed the state to be saved |
| 180 | + * @return void |
|
| 170 | 181 | */ |
| 171 | 182 | public function save($state); |
| 172 | 183 | } |
@@ -208,6 +219,7 @@ discard block |
||
| 208 | 219 | * @param mixed the value to be cached |
| 209 | 220 | * @param integer the number of seconds in which the cached value will expire. 0 means never expire. |
| 210 | 221 | * @param ICacheDependency dependency of the cached item. If the dependency changes, the item is labelled invalid. |
| 222 | + * @param string $id |
|
| 211 | 223 | * @return boolean true if the value is successfully stored into cache, false otherwise |
| 212 | 224 | */ |
| 213 | 225 | public function add($id,$value,$expire=0,$dependency=null); |
@@ -259,6 +271,7 @@ discard block |
||
| 259 | 271 | /** |
| 260 | 272 | * Renders the component to end-users. |
| 261 | 273 | * @param ITextWriter writer for the rendering purpose |
| 274 | + * @return void |
|
| 262 | 275 | */ |
| 263 | 276 | public function render($writer); |
| 264 | 277 | } |
@@ -276,6 +289,7 @@ discard block |
||
| 276 | 289 | { |
| 277 | 290 | /** |
| 278 | 291 | * Performs databinding. |
| 292 | + * @return void |
|
| 279 | 293 | */ |
| 280 | 294 | public function dataBind(); |
| 281 | 295 | } |
@@ -301,6 +315,7 @@ discard block |
||
| 301 | 315 | public function getStyle(); |
| 302 | 316 | /** |
| 303 | 317 | * Removes all styles associated with the object |
| 318 | + * @return void |
|
| 304 | 319 | */ |
| 305 | 320 | public function clearStyle(); |
| 306 | 321 | } |
@@ -339,6 +354,7 @@ discard block |
||
| 339 | 354 | * appropriate event(s) (e.g. OnClick, OnCommand) indicating the component |
| 340 | 355 | * is responsible for the callback event. |
| 341 | 356 | * @param TCallbackEventParameter the parameter associated with the callback event |
| 357 | + * @return void |
|
| 342 | 358 | */ |
| 343 | 359 | public function raiseCallbackEvent($eventArgument); |
| 344 | 360 | } |
@@ -362,6 +378,8 @@ discard block |
||
| 362 | 378 | |
| 363 | 379 | /** |
| 364 | 380 | * @param mixed the data to be bound to this object |
| 381 | + * @param TActiveRecord $value |
|
| 382 | + * @return void |
|
| 365 | 383 | */ |
| 366 | 384 | public function setData($value); |
| 367 | 385 | } |
@@ -224,6 +224,9 @@ discard block |
||
| 224 | 224 | return $v_block; |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | + /** |
|
| 228 | + * @param double $p_len |
|
| 229 | + */ |
|
| 227 | 230 | private function _jumpBlock($p_len=null) |
| 228 | 231 | { |
| 229 | 232 | if (is_resource($this->_file)) { |
@@ -317,6 +320,12 @@ discard block |
||
| 317 | 320 | return true; |
| 318 | 321 | } |
| 319 | 322 | |
| 323 | + /** |
|
| 324 | + * @param string $p_path |
|
| 325 | + * @param string $p_mode |
|
| 326 | + * @param integer $p_file_list |
|
| 327 | + * @param string $p_remove_path |
|
| 328 | + */ |
|
| 320 | 329 | protected function _extractList($p_path, &$p_list_detail, $p_mode, |
| 321 | 330 | $p_file_list, $p_remove_path) |
| 322 | 331 | { |
@@ -38,6 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Writes a string. |
| 40 | 40 | * @param string string to be written |
| 41 | + * @param string $str |
|
| 41 | 42 | */ |
| 42 | 43 | public function write($str) |
| 43 | 44 | { |
@@ -184,6 +184,7 @@ |
||
| 184 | 184 | * will cause the throw of an exception. |
| 185 | 185 | * This method should only be used by framework developers. |
| 186 | 186 | * @param TApplication the application instance |
| 187 | + * @param TApplication $application |
|
| 187 | 188 | * @throws TInvalidOperationException if this method is invoked twice or more. |
| 188 | 189 | */ |
| 189 | 190 | public static function setApplication($application) |
@@ -35,6 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Returns a user instance according to auth data stored in a cookie. |
| 37 | 37 | * @param THttpCookie the cookie storing user authentication information |
| 38 | + * @param THttpCookie $cookie |
|
| 38 | 39 | * @return TUser the user instance generated based on the cookie auth data, null if the cookie does not have valid auth data. |
| 39 | 40 | * @since 3.1.1 |
| 40 | 41 | */ |
@@ -42,7 +43,9 @@ discard block |
||
| 42 | 43 | /** |
| 43 | 44 | * Saves user auth data into a cookie. |
| 44 | 45 | * @param THttpCookie the cookie to receive the user auth data. |
| 46 | + * @param THttpCookie $cookie |
|
| 45 | 47 | * @since 3.1.1 |
| 48 | + * @return void |
|
| 46 | 49 | */ |
| 47 | 50 | public function saveUserToCookie($cookie); |
| 48 | 51 | /** |