function caption($x = undefined) { $f = $this->owner->hasElement($this->getDereferenced()); if ($f) { $f->caption($x); } return parent::caption($x); }
public function caption($x = UNDEFINED) { /** @type Field|bool $f */ $f = $this->owner->hasElement($this->getDereferenced()); if ($f) { $f->caption($x); } return parent::caption($x); }