@@ -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 | { |
@@ -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 | { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * Creates a control used for repetition (used as a template). |
| 40 | - * @return TControl the control to be repeated |
|
| 40 | + * @return TRadioButtonItem the control to be repeated |
|
| 41 | 41 | */ |
| 42 | 42 | protected function createRepeatedControl() |
| 43 | 43 | { |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | /** |
| 126 | 126 | * Returns the value to be validated. |
| 127 | 127 | * This methid is required by \Prado\Web\UI\IValidatable interface. |
| 128 | - * @return mixed the value of the property to be validated. |
|
| 128 | + * @return string the value of the property to be validated. |
|
| 129 | 129 | */ |
| 130 | 130 | public function getValidationPropertyValue() |
| 131 | 131 | { |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | * Returns the value of the TSlider control. |
| 183 | 183 | * This method is required by {@link \Prado\IDataRenderer}. |
| 184 | 184 | * It is the same as {@link getValue()}. |
| 185 | - * @return string the value of the TSlider control. |
|
| 185 | + * @return double the value of the TSlider control. |
|
| 186 | 186 | * @see getValue |
| 187 | 187 | */ |
| 188 | 188 | public function getData() |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | /** |
| 126 | 126 | * Returns the value to be validated. |
| 127 | 127 | * This methid is required by \Prado\Web\UI\IValidatable interface. |
| 128 | - * @return mixed the value of the property to be validated. |
|
| 128 | + * @return string the value of the property to be validated. |
|
| 129 | 129 | */ |
| 130 | 130 | public function getValidationPropertyValue() |
| 131 | 131 | { |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | /** |
| 126 | 126 | * Returns the value to be validated. |
| 127 | 127 | * This methid is required by \Prado\Web\UI\IValidatable interface. |
| 128 | - * @return mixed the value of the property to be validated. |
|
| 128 | + * @return string the value of the property to be validated. |
|
| 129 | 129 | */ |
| 130 | 130 | public function getValidationPropertyValue() |
| 131 | 131 | { |
@@ -66,6 +66,9 @@ |
||
| 66 | 66 | return $control; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @return string |
|
| 71 | + */ |
|
| 69 | 72 | protected function getDefaultControlValue($container, $column, $record) |
| 70 | 73 | { |
| 71 | 74 | $control = $container->findControl(self::DEFAULT_ID); |
@@ -52,6 +52,10 @@ discard block |
||
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent |
|
| 57 | + * @param \Prado\Data\ActiveRecord\TActiveRecord $record |
|
| 58 | + */ |
|
| 55 | 59 | public function createScaffoldInput($parent, $item, $column, $record) |
| 56 | 60 | { |
| 57 | 61 | $this->_parent = $parent; |
@@ -68,6 +72,10 @@ discard block |
||
| 68 | 72 | $label->setForControl(self::DEFAULT_ID); |
| 69 | 73 | } |
| 70 | 74 | |
| 75 | + /** |
|
| 76 | + * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent |
|
| 77 | + * @param \Prado\Data\ActiveRecord\TActiveRecord $record |
|
| 78 | + */ |
|
| 71 | 79 | public function loadScaffoldInput($parent, $item, $column, $record) |
| 72 | 80 | { |
| 73 | 81 | $this->_parent = $parent; |