@@ -20,6 +20,10 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | public function getView($viewName); |
| 22 | 22 | public function getViewNames(); |
| 23 | + |
|
| 24 | + /** |
|
| 25 | + * @return void |
|
| 26 | + */ |
|
| 23 | 27 | public function onDataSourceChanged($param); |
| 24 | 28 | } |
| 25 | 29 | |
@@ -95,6 +99,9 @@ discard block |
||
| 95 | 99 | private $_dataSource; |
| 96 | 100 | private $_dataMember; |
| 97 | 101 | |
| 102 | + /** |
|
| 103 | + * @param Traversable $dataSource |
|
| 104 | + */ |
|
| 98 | 105 | public function __construct($dataSource,$dataMember) |
| 99 | 106 | { |
| 100 | 107 | if(!is_array($dataSource) && !($dataSource instanceof IDataSource) && !($dataSource instanceof Traversable)) |
@@ -106,6 +106,7 @@ discard block |
||
| 106 | 106 | /** |
| 107 | 107 | * Sets the format of the date string. |
| 108 | 108 | * @param string the format of the date string |
| 109 | + * @param string $value |
|
| 109 | 110 | */ |
| 110 | 111 | public function setDateFormat($value) |
| 111 | 112 | { |
@@ -245,6 +246,7 @@ discard block |
||
| 245 | 246 | |
| 246 | 247 | /** |
| 247 | 248 | * @param integer date picker starting year, default is 2000. |
| 249 | + * @param integer $value |
|
| 248 | 250 | */ |
| 249 | 251 | public function setFromYear($value) |
| 250 | 252 | { |
@@ -354,6 +356,7 @@ discard block |
||
| 354 | 356 | |
| 355 | 357 | /** |
| 356 | 358 | * @param string date string |
| 359 | + * @param string $value |
|
| 357 | 360 | */ |
| 358 | 361 | public function setDate($value) |
| 359 | 362 | { |
@@ -731,6 +734,7 @@ discard block |
||
| 731 | 734 | * "MMMM" will return the month names, "MM" or "MMM" return abbr. month names |
| 732 | 735 | * and "M" return month digits. |
| 733 | 736 | * @param DateTimeFormatInfo localized date format information. |
| 737 | + * @param DateTimeFormatInfo $info |
|
| 734 | 738 | * @return array localized month names. |
| 735 | 739 | */ |
| 736 | 740 | protected function getLocalizedMonthNames($info) |
@@ -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 | { |
@@ -422,6 +422,7 @@ discard block |
||
| 422 | 422 | |
| 423 | 423 | /** |
| 424 | 424 | * Parse additional options set in the Options property. |
| 425 | + * @param string $string |
|
| 425 | 426 | * @return array additional custom options |
| 426 | 427 | */ |
| 427 | 428 | protected function parseEditorOptions($string) |
@@ -446,6 +447,7 @@ discard block |
||
| 446 | 447 | } |
| 447 | 448 | |
| 448 | 449 | /** |
| 450 | + * @param string $culture |
|
| 449 | 451 | * @return string localized editor interface language extension. |
| 450 | 452 | */ |
| 451 | 453 | 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 | { |