/** * buildTags * @author Thomas Schedler <*****@*****.**> * @version 1.1 */ public function buildTags() { $element = $this->getElement(); $helper = $element->helper; require_once GLOBAL_ROOT_PATH . $this->core->sysConfig->path->zoolu_modules . 'core/models/Tags.php'; $objModelTags = new Model_Tags(); $objMostUsedTags = $objModelTags->loadMostUsedTags(GenericSetup::getFormTypeHandle($element->formTypeId)); $strOutput = $element->getView()->{$helper}($element->getName(), $element->getValue(), $element->getAttribs(), $element->options, $objMostUsedTags, $element->tagIds); return $strOutput; }