@@ -228,6 +228,8 @@ |
||
228 | 228 | |
229 | 229 | /** |
230 | 230 | * Appends data or javascript code to the body content surrounded with delimiters |
231 | + * @param THttpResponse $response |
|
232 | + * @param string $delimiter |
|
231 | 233 | */ |
232 | 234 | private function appendContentPart($response, $delimiter, $data) |
233 | 235 | { |
@@ -99,6 +99,7 @@ |
||
99 | 99 | * Calls the client-side static method for this control class. |
100 | 100 | * @param string static method name |
101 | 101 | * @param mixed method parmaeter |
102 | + * @param string $func |
|
102 | 103 | */ |
103 | 104 | protected function callClientFunction($func,$value) |
104 | 105 | { |
@@ -111,6 +111,7 @@ discard block |
||
111 | 111 | * method, be sure to call the parent implementation so that the event |
112 | 112 | * handler can be invoked. |
113 | 113 | * @param TActiveTableCellEventParameter event parameter to be passed to the event handlers |
114 | + * @param TActiveTableCellEventParameter $param |
|
114 | 115 | */ |
115 | 116 | public function onCellSelected($param) |
116 | 117 | { |
@@ -232,6 +233,7 @@ discard block |
||
232 | 233 | |
233 | 234 | /** |
234 | 235 | * Creates a new TActiveTableRowEventParameter. |
236 | + * @param THttpResponse $response |
|
235 | 237 | */ |
236 | 238 | public function __construct($response, $parameter, $index=-1) |
237 | 239 | { |
@@ -98,6 +98,7 @@ discard block |
||
98 | 98 | * TActiveTableRow. |
99 | 99 | * This method is mainly used by framework and control developers. |
100 | 100 | * @param TCallbackEventParameter the event parameter |
101 | + * @param TActiveTableCellEventParameter $param |
|
101 | 102 | */ |
102 | 103 | public function raiseCallbackEvent($param) |
103 | 104 | { |
@@ -129,6 +130,7 @@ discard block |
||
129 | 130 | * method, be sure to call the parent implementation so that the event |
130 | 131 | * handler can be invoked. |
131 | 132 | * @param TActiveTableRowEventParameter event parameter to be passed to the event handlers |
133 | + * @param TActiveTableRowEventParameter $param |
|
132 | 134 | */ |
133 | 135 | public function onRowSelected($param) |
134 | 136 | { |
@@ -250,6 +252,7 @@ discard block |
||
250 | 252 | |
251 | 253 | /** |
252 | 254 | * Creates a new TActiveTableRowEventParameter. |
255 | + * @param THttpResponse $response |
|
253 | 256 | */ |
254 | 257 | public function __construct($response, $parameter, $index=-1) |
255 | 258 | { |
@@ -191,6 +191,7 @@ discard block |
||
191 | 191 | * method, be sure to call the parent implementation so that the event |
192 | 192 | * handler can be invoked. |
193 | 193 | * @param TCallbackEventParameter event parameter to be passed to the event handlers |
194 | + * @param TAutoCompleteEventParameter $param |
|
194 | 195 | */ |
195 | 196 | public function onSuggest($param) |
196 | 197 | { |
@@ -203,6 +204,7 @@ discard block |
||
203 | 204 | * method, be sure to call the parent implementation so that the event |
204 | 205 | * handler can be invoked. |
205 | 206 | * @param TCallbackEventParameter event parameter to be passed to the event handlers |
207 | + * @param TAutoCompleteEventParameter $param |
|
206 | 208 | */ |
207 | 209 | public function onSuggestionSelected($param) |
208 | 210 | { |
@@ -383,6 +385,7 @@ discard block |
||
383 | 385 | |
384 | 386 | /** |
385 | 387 | * Creates a new TCallbackEventParameter. |
388 | + * @param THttpResponse $response |
|
386 | 389 | */ |
387 | 390 | public function __construct($response, $parameter, $index=-1) |
388 | 391 | { |
@@ -421,6 +424,9 @@ discard block |
||
421 | 424 | { |
422 | 425 | private $_template; |
423 | 426 | |
427 | + /** |
|
428 | + * @param string $template |
|
429 | + */ |
|
424 | 430 | public function __construct($template) |
425 | 431 | { |
426 | 432 | $this->_template = $template; |
@@ -52,6 +52,8 @@ discard block |
||
52 | 52 | * @param string option name. |
53 | 53 | * @param mixed new value. |
54 | 54 | * @param mixed default value. |
55 | + * @param string $name |
|
56 | + * @param boolean|string $default |
|
55 | 57 | * @return mixed options value. |
56 | 58 | */ |
57 | 59 | protected function setOption($name,$value,$default=null) |
@@ -66,6 +68,8 @@ discard block |
||
66 | 68 | * named values for the base active controls. |
67 | 69 | * @param string option name. |
68 | 70 | * @param mixed default value. |
71 | + * @param string $name |
|
72 | + * @param boolean|string $default |
|
69 | 73 | * @return mixed options value. |
70 | 74 | */ |
71 | 75 | protected function getOption($name,$default=null) |
@@ -177,6 +181,7 @@ discard block |
||
177 | 181 | /** |
178 | 182 | * Sets the client side options. Can only be set when client side is null. |
179 | 183 | * @param TCallbackClientSide client side options. |
184 | + * @param TActiveCustomValidatorClientSide $client |
|
180 | 185 | */ |
181 | 186 | public function setClientSide($client) |
182 | 187 | { |
@@ -343,6 +348,7 @@ discard block |
||
343 | 348 | * {@link getClientSide ClientSide} property. |
344 | 349 | * @param string client side javascript class name. |
345 | 350 | * @param array additional callback options. |
351 | + * @param string $class |
|
346 | 352 | */ |
347 | 353 | public function registerCallbackClientScript($class,$options=null) |
348 | 354 | { |
@@ -84,6 +84,7 @@ discard block |
||
84 | 84 | * Executes a client-side statement. |
85 | 85 | * @param string javascript function name |
86 | 86 | * @param array list of arguments for the function |
87 | + * @param string $function |
|
87 | 88 | */ |
88 | 89 | public function callClientFunction($function, $params=array()) |
89 | 90 | { |
@@ -144,6 +145,7 @@ discard block |
||
144 | 145 | * @param string selection method |
145 | 146 | * @param string|int the value or index to select/check. |
146 | 147 | * @param string selection control type, either 'check' or 'select' |
148 | + * @param boolean $value |
|
147 | 149 | */ |
148 | 150 | public function select($control, $method='Value', $value=null, $type=null) |
149 | 151 | { |
@@ -210,6 +212,7 @@ discard block |
||
210 | 212 | * @param TControl control element or element id |
211 | 213 | * @param string attribute name |
212 | 214 | * @param string attribute value |
215 | + * @param TControl $control |
|
213 | 216 | */ |
214 | 217 | public function setAttribute($control, $name, $value) |
215 | 218 | { |
@@ -359,6 +362,7 @@ discard block |
||
359 | 362 | * key is the style property and the value is the style value. |
360 | 363 | * @param TControl control element or element id |
361 | 364 | * @param array list of key-value pairs as style property and style value. |
365 | + * @param TControl $element |
|
362 | 366 | */ |
363 | 367 | public function setStyle($element, $styles) |
364 | 368 | { |
@@ -413,6 +417,7 @@ discard block |
||
413 | 417 | * @param TControl control element or HTML element id. |
414 | 418 | * @param string HTML fragement or the control to be rendered. |
415 | 419 | * @param boolean whether to fully replace the element or just its inner content. |
420 | + * @param boolean $self |
|
416 | 421 | * @see insertAbout |
417 | 422 | * @see insertBelow |
418 | 423 | * @see insertBefore |
@@ -441,6 +446,7 @@ discard block |
||
441 | 446 | * @param TControl control element or HTML element id. |
442 | 447 | * @param string HTML fragement or the control to be rendered. |
443 | 448 | * @param boolean whether to fully replace the element or just its inner content, defaults to true. |
449 | + * @param TControl $element |
|
444 | 450 | */ |
445 | 451 | public function replaceContent($element, $content, $self=true) |
446 | 452 | { |
@@ -492,6 +498,7 @@ discard block |
||
492 | 498 | * component developers. The render() method is defered to be called in the |
493 | 499 | * TActivePageAdapter class. |
494 | 500 | * @param TControl control to be rendered on callback response. |
501 | + * @param TControl $control |
|
495 | 502 | * @return string the boundary for which the rendered content is wrapped. |
496 | 503 | */ |
497 | 504 | private function getRenderedContentBoundary($control) |
@@ -504,6 +511,7 @@ discard block |
||
504 | 511 | |
505 | 512 | /** |
506 | 513 | * @param THtmlWriter the writer responsible for rendering html content. |
514 | + * @param THtmlWriter $html |
|
507 | 515 | * @return string content boundary. |
508 | 516 | */ |
509 | 517 | private function getResponseContentBoundary($html) |
@@ -523,6 +531,7 @@ discard block |
||
523 | 531 | * @param string visual effect function name. |
524 | 532 | * @param TControl control element or element id |
525 | 533 | * @param array visual effect key-value pair options. |
534 | + * @param string $type |
|
526 | 535 | */ |
527 | 536 | public function visualEffect($type, $element, $options=array()) |
528 | 537 | { |
@@ -630,6 +639,7 @@ discard block |
||
630 | 639 | * @param string visual effect function name. |
631 | 640 | * @param TControl control element or element id |
632 | 641 | * @param array effect options. |
642 | + * @param string $effect |
|
633 | 643 | */ |
634 | 644 | public function juiEffect($element, $effect, $options=array()) |
635 | 645 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * o 'True' or 'Revert' : The draggable will revert to it's original position |
54 | 54 | * o 'False' or 'None' : The draggable won't revert to it's original position |
55 | 55 | * o 'Failure' : The draggable will only revert if it's dropped on a non droppable area |
56 | - * @return TDraggableRevertOption true to revert |
|
56 | + * @return string true to revert |
|
57 | 57 | */ |
58 | 58 | public function getRevert() |
59 | 59 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | /** |
120 | 120 | * Determine if the element should be constrainted in one direction or not |
121 | - * @return CDraggableConstraint |
|
121 | + * @return string |
|
122 | 122 | */ |
123 | 123 | public function getConstraint() |
124 | 124 | { |
@@ -127,7 +127,6 @@ |
||
127 | 127 | * Raises the onDrop event. |
128 | 128 | * The drop parameters are encapsulated into a {@link TDropContainerEventParameter} |
129 | 129 | * |
130 | - * @param object $dropControlId |
|
131 | 130 | */ |
132 | 131 | public function onDrop ($dropParams) |
133 | 132 | { |