@@ -126,7 +126,7 @@ |
||
126 | 126 | /** |
127 | 127 | * Returns the value to be validated. |
128 | 128 | * This methid is required by IValidatable interface. |
129 | - * @return mixed the value of the property to be validated. |
|
129 | + * @return string the value of the property to be validated. |
|
130 | 130 | */ |
131 | 131 | public function getValidationPropertyValue() |
132 | 132 | { |
@@ -234,7 +234,11 @@ |
||
234 | 234 | * @param string button caption |
235 | 235 | * @param boolean whether the button should cause validation |
236 | 236 | * @param string the validation group that the button belongs to |
237 | - * @return mixed the newly created button. |
|
237 | + * @param string $commandName |
|
238 | + * @param string $text |
|
239 | + * @param boolean $causesValidation |
|
240 | + * @param string $validationGroup |
|
241 | + * @return TComponent the newly created button. |
|
238 | 242 | */ |
239 | 243 | protected function createButton($commandName,$text,$causesValidation,$validationGroup) |
240 | 244 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * Returns an array of javascript validator options. |
58 | - * @return array javascript validator options. |
|
58 | + * @return boolean javascript validator options. |
|
59 | 59 | */ |
60 | 60 | public function evaluateIsValid() |
61 | 61 | { |
@@ -177,6 +177,7 @@ discard block |
||
177 | 177 | * @param string the file name used to save the uploaded file |
178 | 178 | * @param boolean whether to delete the temporary file after saving. |
179 | 179 | * If true, you will not be able to save the uploaded file again. |
180 | + * @param string $fileName |
|
180 | 181 | * @return boolean true if the file saving is successful |
181 | 182 | */ |
182 | 183 | public function saveAs($fileName,$deleteTempFile=true) |
@@ -199,6 +200,7 @@ discard block |
||
199 | 200 | * This method is primarly used by framework developers. |
200 | 201 | * @param string the key that can be used to retrieve data from the input data collection |
201 | 202 | * @param array the input data collection |
203 | + * @param boolean $key |
|
202 | 204 | * @return boolean whether the data of the control has been changed |
203 | 205 | */ |
204 | 206 | public function loadPostData($key,$values) |
@@ -251,7 +253,7 @@ discard block |
||
251 | 253 | /** |
252 | 254 | * Returns the original file name as the property value to be validated. |
253 | 255 | * This method is required by IValidatable property. |
254 | - * @return mixed the property value to be validated |
|
256 | + * @return string the property value to be validated |
|
255 | 257 | */ |
256 | 258 | public function getValidationPropertyValue() |
257 | 259 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @return Tells whether buffering of output can continue after this point |
|
52 | + * @return boolean whether buffering of output can continue after this point |
|
53 | 53 | */ |
54 | 54 | public function getContinueBuffering() |
55 | 55 | { |
@@ -478,6 +478,7 @@ discard block |
||
478 | 478 | |
479 | 479 | /** |
480 | 480 | * Parse additional options set in the Options property. |
481 | + * @param string $string |
|
481 | 482 | * @return array additional custom options |
482 | 483 | */ |
483 | 484 | protected function parseEditorOptions($string) |
@@ -502,6 +503,7 @@ discard block |
||
502 | 503 | } |
503 | 504 | |
504 | 505 | /** |
506 | + * @param string $culture |
|
505 | 507 | * @return string localized editor interface language extension. |
506 | 508 | */ |
507 | 509 | protected function getLanguageSuffix($culture) |
@@ -147,6 +147,7 @@ discard block |
||
147 | 147 | /** |
148 | 148 | * Sets the height of the image in the THyperLink |
149 | 149 | * @param string height of the image in the THyperLink |
150 | + * @param string $value |
|
150 | 151 | */ |
151 | 152 | public function setImageHeight($value) |
152 | 153 | { |
@@ -181,6 +182,7 @@ discard block |
||
181 | 182 | /** |
182 | 183 | * Sets the width of the image in the THyperLink |
183 | 184 | * @param string width of the image |
185 | + * @param string $value |
|
184 | 186 | */ |
185 | 187 | public function setImageWidth($value) |
186 | 188 | { |
@@ -212,6 +212,7 @@ discard block |
||
212 | 212 | * If you override this method, be sure to call the parent implementation |
213 | 213 | * so that the event handler can be invoked. |
214 | 214 | * @param TImageMapEventParameter event parameter to be passed to the event handlers |
215 | + * @param TImageMapEventParameter $param |
|
215 | 216 | */ |
216 | 217 | public function onClick($param) |
217 | 218 | { |
@@ -303,6 +304,7 @@ discard block |
||
303 | 304 | * that must be kept in viewstate. |
304 | 305 | * @param string the name of the viewstate value to be returned |
305 | 306 | * @param mixed the default value. If $key is not found in viewstate, $defaultValue will be returned |
307 | + * @param string $key |
|
306 | 308 | * @return mixed the viewstate value corresponding to $key |
307 | 309 | */ |
308 | 310 | protected function getViewState($key,$defaultValue=null) |
@@ -319,6 +321,7 @@ discard block |
||
319 | 321 | * @param string the name of the viewstate value |
320 | 322 | * @param mixed the viewstate value to be set |
321 | 323 | * @param mixed default value. If $value===$defaultValue, the item will be cleared from the viewstate. |
324 | + * @param string $key |
|
322 | 325 | */ |
323 | 326 | protected function setViewState($key,$value,$defaultValue=null) |
324 | 327 | { |
@@ -281,6 +281,7 @@ discard block |
||
281 | 281 | |
282 | 282 | /** |
283 | 283 | * @param string the group of validators which the button causes validation upon postback |
284 | + * @param string $value |
|
284 | 285 | */ |
285 | 286 | public function setValidationGroup($value) |
286 | 287 | { |
@@ -322,6 +323,7 @@ discard block |
||
322 | 323 | * If you override this method, be sure to call the parent implementation |
323 | 324 | * so that the event handlers can be invoked. |
324 | 325 | * @param TCommandEventParameter event parameter to be passed to the event handlers |
326 | + * @param TCommandEventParameter $param |
|
325 | 327 | */ |
326 | 328 | public function onCommand($param) |
327 | 329 | { |