loadDefaultDecoratorsIsDisabled()) { return; } $decorators = $this->getDecorators(); if (empty($decorators)) { $this->addDecorator('MultiText') ->addDecorator('Errors') ->addDecorator('Description', array('tag' => 'p', 'class' => 'description')) ->addDecorator('HtmlTag', array('tag' => 'dd', 'id' => $this->getName() . '-element')) ->addDecorator('Label', array('tag' => 'dt')); } } public function getClass() { $class = $this->getAttrib('class'); if (empty($class)) { return 'multitext'; } return $class; } public function getItemName() { return $this->_itemName; } public function setItemName($name) { $this->_itemName = $name; return $this; } public function getNumeringFormat() { return $this->_numeringFormat; } public function setNumeringFormat($format) { $this->_numeringFormat = $format; return $this; } public function isNumering() { return $this->_isNumbering; } public function setIsNumering($flag) { $this->_isNumbering = (bool) $flag; return $this; } public function setSortable($flag = true) { $this->_sortable = (bool) $flag; } public function isSortable() { return $this->_sortable; } }