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