@@ -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) |
@@ -82,6 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * Determine if the given value is of a particular type using RegExp. |
84 | 84 | * @param string value to check |
85 | + * @param string $value |
|
85 | 86 | * @return boolean true if value fits the type expression. |
86 | 87 | */ |
87 | 88 | protected function evaluateDataTypeCheck($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 | { |
@@ -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 | { |
@@ -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) |
@@ -132,6 +132,7 @@ |
||
132 | 132 | |
133 | 133 | /** |
134 | 134 | * @param float rating value |
135 | + * @param double $rating |
|
135 | 136 | * @return int rating as integer |
136 | 137 | */ |
137 | 138 | protected function getRatingIndex($rating) |
@@ -144,6 +144,7 @@ discard block |
||
144 | 144 | |
145 | 145 | /** |
146 | 146 | * @param string table caption |
147 | + * @param string $value |
|
147 | 148 | */ |
148 | 149 | public function setCaption($value) |
149 | 150 | { |
@@ -160,6 +161,7 @@ discard block |
||
160 | 161 | |
161 | 162 | /** |
162 | 163 | * @param TTableCaptionAlign table caption alignment. |
164 | + * @param TTableCaptionAlign $value |
|
163 | 165 | */ |
164 | 166 | public function setCaptionAlign($value) |
165 | 167 | { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * @return ITemplate the item template |
|
121 | + * @return string the item template |
|
122 | 122 | */ |
123 | 123 | public function getItemTemplate() |
124 | 124 | { |