@@ -37,6 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * Returns a user instance according to auth data stored in a cookie. |
| 39 | 39 | * @param THttpCookie the cookie storing user authentication information |
| 40 | + * @param \Prado\Web\THttpCookie $cookie |
|
| 40 | 41 | * @return TUser the user instance generated based on the cookie auth data, null if the cookie does not have valid auth data. |
| 41 | 42 | * @since 3.1.1 |
| 42 | 43 | */ |
@@ -44,7 +45,9 @@ discard block |
||
| 44 | 45 | /** |
| 45 | 46 | * Saves user auth data into a cookie. |
| 46 | 47 | * @param THttpCookie the cookie to receive the user auth data. |
| 48 | + * @param \Prado\Web\THttpCookie $cookie |
|
| 47 | 49 | * @since 3.1.1 |
| 50 | + * @return void |
|
| 48 | 51 | */ |
| 49 | 52 | public function saveUserToCookie($cookie); |
| 50 | 53 | /** |
@@ -228,6 +228,7 @@ discard block |
||
| 228 | 228 | /** |
| 229 | 229 | * Sets the URL that the browser should be redirected to when login succeeds. |
| 230 | 230 | * @param string the URL to be redirected to. |
| 231 | + * @param string $value |
|
| 231 | 232 | */ |
| 232 | 233 | public function setReturnUrl($value) |
| 233 | 234 | { |
@@ -376,6 +377,7 @@ discard block |
||
| 376 | 377 | /** |
| 377 | 378 | * Updates the user data stored in session. |
| 378 | 379 | * @param IUser user object |
| 380 | + * @param TUser $user |
|
| 379 | 381 | * @throws new TConfigurationException if session module is not loaded. |
| 380 | 382 | */ |
| 381 | 383 | public function updateSessionUser($user) |
@@ -162,7 +162,8 @@ |
||
| 162 | 162 | /** |
| 163 | 163 | * Creates the DB connection. |
| 164 | 164 | * @param string the module ID for TDataSourceConfig |
| 165 | - * @return TDbConnection the created DB connection |
|
| 165 | + * @param string $connectionID |
|
| 166 | + * @return \Prado\Data\TDbConnection the created DB connection |
|
| 166 | 167 | * @throws TConfigurationException if module ID is invalid or empty |
| 167 | 168 | */ |
| 168 | 169 | protected function createDbConnection($connectionID) |
@@ -61,6 +61,7 @@ |
||
| 61 | 61 | /** |
| 62 | 62 | * Parses the application configuration file. |
| 63 | 63 | * @param string configuration file name |
| 64 | + * @param string $fname |
|
| 64 | 65 | * @throws TConfigurationException if there is any parsing error |
| 65 | 66 | */ |
| 66 | 67 | public function loadFromFile($fname) |
@@ -422,7 +422,7 @@ discard block |
||
| 422 | 422 | * </code> |
| 423 | 423 | * to be executed when listen is called. All attached behaviors are notified through dyListen. |
| 424 | 424 | * |
| 425 | - * @return numeric the number of global events that were registered to the global event registry |
|
| 425 | + * @return null|integer the number of global events that were registered to the global event registry |
|
| 426 | 426 | */ |
| 427 | 427 | public function listen() { |
| 428 | 428 | if($this->_listeningenabled) |
@@ -456,7 +456,7 @@ discard block |
||
| 456 | 456 | * </code> |
| 457 | 457 | * to be executed when listen is called. All attached behaviors are notified through dyUnlisten. |
| 458 | 458 | * |
| 459 | - * @return numeric the number of global events that were unregistered from the global event registry |
|
| 459 | + * @return null|integer the number of global events that were unregistered from the global event registry |
|
| 460 | 460 | */ |
| 461 | 461 | public function unlisten() { |
| 462 | 462 | if(!$this->_listeningenabled) |
@@ -793,6 +793,7 @@ discard block |
||
| 793 | 793 | * A property is defined if there is a getter or setter method |
| 794 | 794 | * defined in the class. Note, property names are case-insensitive. |
| 795 | 795 | * @param string the property name |
| 796 | + * @param string $name |
|
| 796 | 797 | * @return boolean whether the property is defined |
| 797 | 798 | */ |
| 798 | 799 | public function hasProperty($name) |
@@ -27,11 +27,14 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Attaches the behavior object to the component. |
| 29 | 29 | * @param CComponent the component that this behavior is to be attached to. |
| 30 | + * @param \Prado\TComponent $component |
|
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function attach($component); |
| 32 | 34 | /** |
| 33 | 35 | * Detaches the behavior object from the component. |
| 34 | 36 | * @param CComponent the component that this behavior is to be detached from. |
| 37 | + * @return void |
|
| 35 | 38 | */ |
| 36 | 39 | public function detach($component); |
| 37 | 40 | } |
| 38 | 41 | \ No newline at end of file |
@@ -34,6 +34,8 @@ |
||
| 34 | 34 | public function getEnabled(); |
| 35 | 35 | /** |
| 36 | 36 | * @param boolean whether this behavior is enabled |
| 37 | + * @param boolean $value |
|
| 38 | + * @return void |
|
| 37 | 39 | */ |
| 38 | 40 | public function setEnabled($value); |
| 39 | 41 | } |
| 40 | 42 | \ No newline at end of file |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | - * @return rpc server instance |
|
| 80 | + * @return TRpcServer server instance |
|
| 81 | 81 | */ |
| 82 | 82 | public function getRpcServer() |
| 83 | 83 | { |
@@ -33,6 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * @param string request payload |
| 35 | 35 | * Processed the request ans returns the response, if any |
| 36 | + * @param string $requestPayload |
|
| 36 | 37 | * @return processed response |
| 37 | 38 | * @abstract |
| 38 | 39 | */ |