@@ -186,6 +186,8 @@ |
||
186 | 186 | * Parse the pair of values into the appropriate value type. |
187 | 187 | * @param string value one |
188 | 188 | * @param string second value |
189 | + * @param string $value1 |
|
190 | + * @param string $value2 |
|
189 | 191 | * @return array appropriate type of the value pair, array($value1, $value2); |
190 | 192 | */ |
191 | 193 | protected function getComparisonValues($value1, $value2) |
@@ -281,6 +281,7 @@ discard block |
||
281 | 281 | * |
282 | 282 | * @param string the name of the viewstate value to be returned |
283 | 283 | * @param mixed the default value. If $key is not found in viewstate, $defaultValue will be returned |
284 | + * @param string $key |
|
284 | 285 | * @return mixed the viewstate value corresponding to $key |
285 | 286 | */ |
286 | 287 | protected function getViewState($key,$defaultValue=null) |
@@ -295,6 +296,7 @@ discard block |
||
295 | 296 | * @param string the name of the viewstate value |
296 | 297 | * @param mixed the viewstate value to be set |
297 | 298 | * @param mixed default value. If $value===$defaultValue, the item will be cleared from the viewstate. |
299 | + * @param string $key |
|
298 | 300 | */ |
299 | 301 | protected function setViewState($key,$value,$defaultValue=null) |
300 | 302 | { |
@@ -356,6 +358,7 @@ discard block |
||
356 | 358 | * If the data is a component, the field is used as the name of a property. |
357 | 359 | * @param mixed data containing the field of value |
358 | 360 | * @param string the data field |
361 | + * @param string $field |
|
359 | 362 | * @return mixed data value at the specified field |
360 | 363 | * @throws TInvalidDataValueException if the data or the field is invalid. |
361 | 364 | */ |
@@ -515,6 +518,7 @@ discard block |
||
515 | 518 | * as the first and second parameters in {@link sprintf}. |
516 | 519 | * @param string format string |
517 | 520 | * @param mixed the data to be formatted |
521 | + * @param string $formatString |
|
518 | 522 | * @return string the formatted result |
519 | 523 | */ |
520 | 524 | protected function formatDataValue($formatString,$value) |
@@ -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) |
@@ -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 | { |
@@ -333,6 +333,7 @@ discard block |
||
333 | 333 | |
334 | 334 | /** |
335 | 335 | * @param integer the zero-based index of the current page |
336 | + * @param integer $value |
|
336 | 337 | * @throws TInvalidDataValueException if the value is less than 0 |
337 | 338 | */ |
338 | 339 | protected function setCurrentPageIndex($value) |
@@ -352,6 +353,7 @@ discard block |
||
352 | 353 | |
353 | 354 | /** |
354 | 355 | * @param integer number of pages of data items available |
356 | + * @param integer $value |
|
355 | 357 | * @throws TInvalidDataValueException if the value is less than 0 |
356 | 358 | */ |
357 | 359 | protected function setPageCount($value) |
@@ -446,6 +448,9 @@ discard block |
||
446 | 448 | * @param string caption of the button. |
447 | 449 | * @param string CommandName corresponding to the OnCommand event of the button. |
448 | 450 | * @param string CommandParameter corresponding to the OnCommand event of the button |
451 | + * @param TPagerButtonType $buttonType |
|
452 | + * @param boolean $enabled |
|
453 | + * @param string $commandName |
|
449 | 454 | * @return mixed the button instance |
450 | 455 | */ |
451 | 456 | protected function createPagerButton($buttonType,$enabled,$text,$commandName,$commandParameter) |
@@ -660,6 +665,7 @@ discard block |
||
660 | 665 | /** |
661 | 666 | * This event is raised when page index is changed due to a page button click. |
662 | 667 | * @param TPagerPageChangedEventParameter event parameter |
668 | + * @param TPagerPageChangedEventParameter $param |
|
663 | 669 | */ |
664 | 670 | public function onPageIndexChanged($param) |
665 | 671 | { |
@@ -96,6 +96,7 @@ discard block |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * @param boolean true to perform strict comparison (i.e. strictly less than max and/or strictly greater than min). |
99 | + * @param boolean $value |
|
99 | 100 | */ |
100 | 101 | public function setStrictComparison($value) |
101 | 102 | { |
@@ -191,6 +192,7 @@ discard block |
||
191 | 192 | /** |
192 | 193 | * Determine if the value is within the integer range. |
193 | 194 | * @param string value to validate true |
195 | + * @param string $value |
|
194 | 196 | * @return boolean true if within integer range. |
195 | 197 | */ |
196 | 198 | protected function isValidInteger($value) |
@@ -220,6 +222,7 @@ discard block |
||
220 | 222 | /** |
221 | 223 | * Determine if the value is within the specified float range. |
222 | 224 | * @param string value to validate |
225 | + * @param string $value |
|
223 | 226 | * @return boolean true if within range. |
224 | 227 | */ |
225 | 228 | protected function isValidFloat($value) |
@@ -240,6 +243,7 @@ discard block |
||
240 | 243 | * Determine if the date is within the specified range. |
241 | 244 | * Uses pradoParseDate and strtotime to get the date from string. |
242 | 245 | * @param string date as string to validate |
246 | + * @param string $value |
|
243 | 247 | * @return boolean true if within range. |
244 | 248 | */ |
245 | 249 | protected function isValidDate($value) |
@@ -275,6 +279,7 @@ discard block |
||
275 | 279 | * Compare the string with a minimum and a maxiumum value. |
276 | 280 | * Uses strcmp for comparision. |
277 | 281 | * @param string value to compare with. |
282 | + * @param string $value |
|
278 | 283 | * @return boolean true if the string is within range. |
279 | 284 | */ |
280 | 285 | protected function isValidString($value) |
@@ -292,6 +297,7 @@ discard block |
||
292 | 297 | |
293 | 298 | /** |
294 | 299 | * @param string string for comparision |
300 | + * @param string $value |
|
295 | 301 | * @return boolean true if min and max string length are satisfied. |
296 | 302 | */ |
297 | 303 | protected function isValidStringLength($value) |