@@ -296,6 +296,10 @@ discard block |
||
296 | 296 | } |
297 | 297 | } |
298 | 298 | |
299 | + /** |
|
300 | + * @param TListItem $item |
|
301 | + * @param integer $index |
|
302 | + */ |
|
299 | 303 | protected function renderTextItem($writer, $item, $index) |
300 | 304 | { |
301 | 305 | if ($item->getEnabled()) { |
@@ -308,6 +312,10 @@ discard block |
||
308 | 312 | } |
309 | 313 | } |
310 | 314 | |
315 | + /** |
|
316 | + * @param TListItem $item |
|
317 | + * @param integer $index |
|
318 | + */ |
|
311 | 319 | protected function renderHyperLinkItem($writer, $item, $index) |
312 | 320 | { |
313 | 321 | if (!$this->_isEnabled || !$item->getEnabled()) { |
@@ -326,6 +334,10 @@ discard block |
||
326 | 334 | $writer->renderEndTag(); |
327 | 335 | } |
328 | 336 | |
337 | + /** |
|
338 | + * @param TListItem $item |
|
339 | + * @param integer $index |
|
340 | + */ |
|
329 | 341 | protected function renderLinkButtonItem($writer, $item, $index) |
330 | 342 | { |
331 | 343 | if (!$this->_isEnabled || !$item->getEnabled()) { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * invoke the page's {@link TPage::validate validate} method first. |
244 | 244 | * It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events. |
245 | 245 | * This method is mainly used by framework and control developers. |
246 | - * @param TEventParameter $param the event parameter |
|
246 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param the event parameter |
|
247 | 247 | */ |
248 | 248 | public function raisePostBackEvent($param) |
249 | 249 | { |
@@ -125,7 +125,7 @@ |
||
125 | 125 | |
126 | 126 | /** |
127 | 127 | * Returns the value of the property that needs validation. |
128 | - * @return mixed the property value to be validated |
|
128 | + * @return boolean the property value to be validated |
|
129 | 129 | */ |
130 | 130 | public function getValidationPropertyValue() |
131 | 131 | { |
@@ -411,6 +411,9 @@ |
||
411 | 411 | return $this->_currentDataSource; |
412 | 412 | } |
413 | 413 | |
414 | + /** |
|
415 | + * @param \Traversable $data |
|
416 | + */ |
|
414 | 417 | abstract protected function performDataBinding($data); |
415 | 418 | |
416 | 419 | /** |
@@ -385,6 +385,9 @@ discard block |
||
385 | 385 | return $url; |
386 | 386 | } |
387 | 387 | |
388 | + /** |
|
389 | + * @param string $url |
|
390 | + */ |
|
388 | 391 | protected function copyCustomPlugins($url) |
389 | 392 | { |
390 | 393 | if ($plugins = $this->getCustomPluginPath()) { |
@@ -429,7 +432,7 @@ discard block |
||
429 | 432 | |
430 | 433 | /** |
431 | 434 | * Parse additional options set in the Options property. |
432 | - * @param mixed $string |
|
435 | + * @param string $string |
|
433 | 436 | * @return array additional custom options |
434 | 437 | */ |
435 | 438 | protected function parseEditorOptions($string) |
@@ -453,7 +456,7 @@ discard block |
||
453 | 456 | } |
454 | 457 | |
455 | 458 | /** |
456 | - * @param mixed $culture |
|
459 | + * @param string $culture |
|
457 | 460 | * @return string localized editor interface language extension. |
458 | 461 | */ |
459 | 462 | protected function getLanguageSuffix($culture) |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | |
381 | 381 | /** |
382 | 382 | * Parse additional options set in the Options property. |
383 | - * @param mixed $string |
|
383 | + * @param string $string |
|
384 | 384 | * @return array additional custom options |
385 | 385 | */ |
386 | 386 | protected function parseEditorOptions($string) |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | } |
405 | 405 | |
406 | 406 | /** |
407 | - * @param mixed $culture |
|
407 | + * @param string $culture |
|
408 | 408 | * @return string localized editor interface language extension. |
409 | 409 | */ |
410 | 410 | protected function getLanguageSuffix($culture) |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | } |
198 | 198 | |
199 | 199 | /** |
200 | - * @param mixed $value |
|
200 | + * @param string $value |
|
201 | 201 | * @return TRatingListStyle current rating style |
202 | 202 | */ |
203 | 203 | public function setCaption($value) |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
217 | - * @return TRatingListStyle current rating style |
|
217 | + * @return string current rating style |
|
218 | 218 | */ |
219 | 219 | public function getRatingStyle() |
220 | 220 | { |
@@ -356,11 +356,17 @@ |
||
356 | 356 | } |
357 | 357 | } |
358 | 358 | |
359 | + /** |
|
360 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param |
|
361 | + */ |
|
359 | 362 | public function onCallback($param) |
360 | 363 | { |
361 | 364 | $this->raiseEvent('OnCallback', $this, $param); |
362 | 365 | } |
363 | 366 | |
367 | + /** |
|
368 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param |
|
369 | + */ |
|
364 | 370 | public function onCallbackExpired($param) |
365 | 371 | { |
366 | 372 | $this->raiseEvent('OnCallbackExpired', $this, $param); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | private $_active = false; |
33 | 33 | |
34 | 34 | /** |
35 | - * @return the tag name for the view element |
|
35 | + * @return string tag name for the view element |
|
36 | 36 | */ |
37 | 37 | protected function getTagName() |
38 | 38 | { |