/** * For backward compatibility, allow \MUtil_Html calls to set or append to the title * * @param type $method * @param type $args * @return \Gems_Form_TabSubForm */ public function __call($method, $args) { if ('render' == substr($method, 0, 6)) { return parent::__call($method, $args); } $elem = \MUtil_Html::createArray($method, $args); $value = $this->getAttrib('title'); $value .= $elem->render($this->getView()); $this->setAttrib('title', $value); //As the decorator might have been added already, update it also $decorator = $this->getDecorator('TabPane'); $options = $decorator->getOption('jQueryParams'); $options['title'] = strip_tags($value); $decorator->setOption('jQueryParams', $options); return $this; }