@@ -113,6 +113,7 @@ |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * @param string button caption |
| 116 | + * @param string $value |
|
| 116 | 117 | */ |
| 117 | 118 | public function setButtonText($value) |
| 118 | 119 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | /** |
| 71 | 71 | * Javascript client class for this control. |
| 72 | 72 | * This method overrides the parent implementation. |
| 73 | - * @return null no javascript class name. |
|
| 73 | + * @return string no javascript class name. |
|
| 74 | 74 | */ |
| 75 | 75 | protected function getClientClassName() |
| 76 | 76 | { |
@@ -113,6 +113,7 @@ |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * @param string button caption |
| 116 | + * @param string $value |
|
| 116 | 117 | */ |
| 117 | 118 | public function setButtonText($value) |
| 118 | 119 | { |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | /** |
| 214 | 214 | * Returns the value to be validated. |
| 215 | 215 | * This methid is required by IValidatable interface. |
| 216 | - * @return mixed the value of the property to be validated. |
|
| 216 | + * @return string the value of the property to be validated. |
|
| 217 | 217 | */ |
| 218 | 218 | public function getValidationPropertyValue() |
| 219 | 219 | { |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | /** |
| 214 | 214 | * Returns the value to be validated. |
| 215 | 215 | * This methid is required by IValidatable interface. |
| 216 | - * @return mixed the value of the property to be validated. |
|
| 216 | + * @return string the value of the property to be validated. |
|
| 217 | 217 | */ |
| 218 | 218 | public function getValidationPropertyValue() |
| 219 | 219 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | - * @return boolean true to post the inputs of the form on callback, default |
|
| 202 | + * @return string true to post the inputs of the form on callback, default |
|
| 203 | 203 | * is post the inputs on callback. |
| 204 | 204 | */ |
| 205 | 205 | public function getPostState() |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | /** |
| 220 | - * @return integer callback request timeout. |
|
| 220 | + * @return string callback request timeout. |
|
| 221 | 221 | */ |
| 222 | 222 | public function getRequestTimeOut() |
| 223 | 223 | { |
@@ -261,6 +261,7 @@ discard block |
||
| 261 | 261 | * update. This will automatically set HasPrority to true. |
| 262 | 262 | * @param boolean true enables the callback response to update the |
| 263 | 263 | * viewstate. |
| 264 | + * @param boolean $value |
|
| 264 | 265 | */ |
| 265 | 266 | public function setEnablePageStateUpdate($value) |
| 266 | 267 | { |
@@ -269,7 +270,7 @@ discard block |
||
| 269 | 270 | } |
| 270 | 271 | |
| 271 | 272 | /** |
| 272 | - * @return boolean client-side viewstate will be updated on callback |
|
| 273 | + * @return boolean|string client-side viewstate will be updated on callback |
|
| 273 | 274 | * response if true. Default is true. |
| 274 | 275 | */ |
| 275 | 276 | public function getEnablePageStateUpdate() |
@@ -93,6 +93,7 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | 95 | * @param boolean whether the keys are case-sensitive. |
| 96 | + * @param boolean $value |
|
| 96 | 97 | */ |
| 97 | 98 | public function setCaseSensitive($value) |
| 98 | 99 | { |
@@ -126,6 +127,7 @@ discard block |
||
| 126 | 127 | * Removes an item from the map by its key. |
| 127 | 128 | * This overrides the parent implementation by converting the key to lower case first if CaseSensitive is false. |
| 128 | 129 | * @param mixed the key of the item to be removed |
| 130 | + * @param string $key |
|
| 129 | 131 | * @return mixed the removed value, null if no such key exists. |
| 130 | 132 | */ |
| 131 | 133 | public function remove($key) |
@@ -87,6 +87,7 @@ discard block |
||
| 87 | 87 | * Initialize a new DateFormat. |
| 88 | 88 | * @param mixed either, null, a CultureInfo instance, |
| 89 | 89 | * a DateTimeFormatInfo instance, or a locale. |
| 90 | + * @param string $formatInfo |
|
| 90 | 91 | * @return DateFormat instance |
| 91 | 92 | */ |
| 92 | 93 | function __construct($formatInfo=null) |
@@ -106,6 +107,7 @@ discard block |
||
| 106 | 107 | /** |
| 107 | 108 | * Format a date according to the pattern. |
| 108 | 109 | * @param mixed the time as integer or string in strtotime format. |
| 110 | + * @param string $time |
|
| 109 | 111 | * @return string formatted date time. |
| 110 | 112 | */ |
| 111 | 113 | public function format($time, $pattern='F', $charset='UTF-8') |
@@ -179,6 +181,7 @@ discard block |
||
| 179 | 181 | * DateTimeFormatInfo::formatDateTime |
| 180 | 182 | * See the tutorial documentation for futher details on the patterns. |
| 181 | 183 | * @param mixed a pattern. |
| 184 | + * @param string $pattern |
|
| 182 | 185 | * @return string a pattern. |
| 183 | 186 | * @see DateTimeFormatInfo::formatDateTime() |
| 184 | 187 | */ |
@@ -269,6 +272,7 @@ discard block |
||
| 269 | 272 | * Any substrings, starting and ending with a single quote (') |
| 270 | 273 | * will be treated as a single token. |
| 271 | 274 | * @param string pattern. |
| 275 | + * @param string $pattern |
|
| 272 | 276 | * @return array string tokens in an array. |
| 273 | 277 | */ |
| 274 | 278 | protected function getTokens($pattern) |
@@ -271,7 +271,9 @@ |
||
| 271 | 271 | |
| 272 | 272 | /** |
| 273 | 273 | * Update the catalogue last modified time. |
| 274 | - * @return boolean true if updated, false otherwise. |
|
| 274 | + * @param integer $cat_id |
|
| 275 | + * @param string $variant |
|
| 276 | + * @return resource true if updated, false otherwise. |
|
| 275 | 277 | */ |
| 276 | 278 | private function updateCatalogueTime($cat_id, $variant) |
| 277 | 279 | { |