@@ -107,7 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @return TControl control to be validated. Null if no control is found. |
|
| 110 | + * @return \Prado\Web\UI\TControl|null control to be validated. Null if no control is found. |
|
| 111 | 111 | */ |
| 112 | 112 | public function getValidationTarget() |
| 113 | 113 | { |
@@ -156,6 +156,7 @@ discard block |
||
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | 158 | * @param boolean if databind has been invoked in this page request |
| 159 | + * @param boolean $value |
|
| 159 | 160 | */ |
| 160 | 161 | protected function setIsDataBound($value) |
| 161 | 162 | { |
@@ -216,6 +217,7 @@ discard block |
||
| 216 | 217 | |
| 217 | 218 | /** |
| 218 | 219 | * @param integer the zero-based index of the current page |
| 220 | + * @param integer $value |
|
| 219 | 221 | * @throws TInvalidDataValueException if the value is less than 0 |
| 220 | 222 | */ |
| 221 | 223 | public function setCurrentPageIndex($value) |
@@ -278,6 +280,7 @@ discard block |
||
| 278 | 280 | * If true and the control has been prerendered while it uses the data source |
| 279 | 281 | * specified by {@link setDataSourceID}, a databind call will be called by this method. |
| 280 | 282 | * @param boolean whether a databind call is required. |
| 283 | + * @param boolean $value |
|
| 281 | 284 | */ |
| 282 | 285 | protected function setRequiresDataBinding($value) |
| 283 | 286 | { |
@@ -410,6 +413,9 @@ discard block |
||
| 410 | 413 | return $this->_currentDataSource; |
| 411 | 414 | } |
| 412 | 415 | |
| 416 | + /** |
|
| 417 | + * @param \Traversable $data |
|
| 418 | + */ |
|
| 413 | 419 | abstract protected function performDataBinding($data); |
| 414 | 420 | |
| 415 | 421 | /** |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @return TListItemType item type. |
|
| 72 | + * @return string item type. |
|
| 73 | 73 | */ |
| 74 | 74 | public function getItemType() |
| 75 | 75 | { |
@@ -32,6 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Constructor. |
| 34 | 34 | * @param TDataGrid datagrid object |
| 35 | + * @param TDataGrid $dataGrid |
|
| 35 | 36 | */ |
| 36 | 37 | public function __construct($dataGrid) |
| 37 | 38 | { |
@@ -34,6 +34,7 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * Constructor. |
| 36 | 36 | * @param TControl DataList item related with the corresponding event |
| 37 | + * @param \Prado\TComponent $item |
|
| 37 | 38 | */ |
| 38 | 39 | public function __construct($item) |
| 39 | 40 | { |
@@ -230,6 +230,7 @@ discard block |
||
| 230 | 230 | * If a font field is not set in the font, it will be overwritten with |
| 231 | 231 | * the new one. |
| 232 | 232 | * @param TFont the new font |
| 233 | + * @param TFont $font |
|
| 233 | 234 | */ |
| 234 | 235 | public function mergeWith($font) |
| 235 | 236 | { |
@@ -256,6 +257,7 @@ discard block |
||
| 256 | 257 | * If a font field is set in the new font, the corresponding field |
| 257 | 258 | * in this font will be overwritten. |
| 258 | 259 | * @param TFont the new font |
| 260 | + * @param TFont $font |
|
| 259 | 261 | */ |
| 260 | 262 | public function copyFrom($font) |
| 261 | 263 | { |
@@ -438,6 +438,9 @@ discard block |
||
| 438 | 438 | return $url; |
| 439 | 439 | } |
| 440 | 440 | |
| 441 | + /** |
|
| 442 | + * @param string $url |
|
| 443 | + */ |
|
| 441 | 444 | protected function copyCustomPlugins($url) |
| 442 | 445 | { |
| 443 | 446 | if($plugins = $this->getCustomPluginPath()) |
@@ -481,6 +484,7 @@ discard block |
||
| 481 | 484 | |
| 482 | 485 | /** |
| 483 | 486 | * Parse additional options set in the Options property. |
| 487 | + * @param string $string |
|
| 484 | 488 | * @return array additional custom options |
| 485 | 489 | */ |
| 486 | 490 | protected function parseEditorOptions($string) |
@@ -505,6 +509,7 @@ discard block |
||
| 505 | 509 | } |
| 506 | 510 | |
| 507 | 511 | /** |
| 512 | + * @param string $culture |
|
| 508 | 513 | * @return string localized editor interface language extension. |
| 509 | 514 | */ |
| 510 | 515 | protected function getLanguageSuffix($culture) |
@@ -210,6 +210,7 @@ |
||
| 210 | 210 | * If you override this method, be sure to call the parent implementation |
| 211 | 211 | * so that the event handler can be invoked. |
| 212 | 212 | * @param TImageMapEventParameter event parameter to be passed to the event handlers |
| 213 | + * @param TImageMapEventParameter $param |
|
| 213 | 214 | */ |
| 214 | 215 | public function onClick($param) |
| 215 | 216 | { |
@@ -163,6 +163,7 @@ |
||
| 163 | 163 | |
| 164 | 164 | /** |
| 165 | 165 | * @param TListControl control to validate |
| 166 | + * @param \Prado\Web\UI\TControl $control |
|
| 166 | 167 | * @return array number of selected values and its values. |
| 167 | 168 | */ |
| 168 | 169 | protected function getSelection($control) |