/** * Mediates standard properties from \Nette\Application\UI\Form * * @param string $name * * @return mixed */ public function &__get($name) { if (property_exists($this->form, $name)) { return $this->form->{$name}; } return parent::__get($name); }