1818 *
1919 * @author David Grudl
2020 *
21- * @property-read Nette\Forms\ Form $form
21+ * @property-read Form $form
2222 * @property-read string $htmlName
2323 * @property string $htmlId
2424 * @property-read array $options
2828 * @property-write $defaultValue
2929 * @property bool $disabled
3030 * @property bool $omitted
31- * @property-read Nette\Utils\ Html $control
32- * @property-read Nette\Utils\ Html $label
33- * @property-read Nette\Utils\ Html $controlPrototype
34- * @property-read Nette\Utils\ Html $labelPrototype
31+ * @property-read Html $control
32+ * @property-read Html $label
33+ * @property-read Html $controlPrototype
34+ * @property-read Html $labelPrototype
3535 * @property-read Nette\Forms\Rules $rules
3636 * @property bool $required
3737 * @property-read array $errors
@@ -47,10 +47,10 @@ abstract class BaseControl extends Nette\ComponentModel\Component implements ICo
4747 /** @var mixed current control value */
4848 protected $ value ;
4949
50- /** @var Nette\Utils\ Html control element template */
50+ /** @var Html control element template */
5151 protected $ control ;
5252
53- /** @var Nette\Utils\ Html label element template */
53+ /** @var Html label element template */
5454 protected $ label ;
5555
5656 /** @var array */
@@ -103,7 +103,7 @@ protected function attached($form)
103103 /**
104104 * Returns form.
105105 * @param bool throw exception if form doesn't exist?
106- * @return Nette\Forms\ Form
106+ * @return Form
107107 */
108108 public function getForm ($ need = TRUE )
109109 {
@@ -242,7 +242,7 @@ public function isOmitted()
242242
243243 /**
244244 * Generates control's HTML element.
245- * @return Nette\Utils\ Html|string
245+ * @return Html|string
246246 */
247247 public function getControl ()
248248 {
@@ -261,7 +261,7 @@ public function getControl()
261261 /**
262262 * Generates label's HTML element.
263263 * @param string
264- * @return Nette\Utils\ Html|string
264+ * @return Html|string
265265 */
266266 public function getLabel ($ caption = NULL )
267267 {
@@ -274,7 +274,7 @@ public function getLabel($caption = NULL)
274274
275275 /**
276276 * Returns control's HTML element template.
277- * @return Nette\Utils\ Html
277+ * @return Html
278278 */
279279 public function getControlPrototype ()
280280 {
@@ -284,7 +284,7 @@ public function getControlPrototype()
284284
285285 /**
286286 * Returns label's HTML element template.
287- * @return Nette\Utils\ Html
287+ * @return Html
288288 */
289289 public function getLabelPrototype ()
290290 {
@@ -408,7 +408,7 @@ public function addCondition($validator, $value = NULL)
408408
409409 /**
410410 * Adds a validation condition based on another control a returns new branch.
411- * @param Nette\Forms\ IControl form control
411+ * @param IControl form control
412412 * @param mixed condition type
413413 * @param mixed optional condition arguments
414414 * @return Nette\Forms\Rules new branch
0 commit comments