_element, $name);
}
/**
*
* get hide default option
*
* @return string
*/
public function isHideDefault()
{
return $this->_hideDefault;
}
/**
*
* set hide default option
*
* @param boolean $default
*
* @return $this
*/
public function setHideDefault($default = true)
{
$this->_hideDefault = (bool)$default;
return $this;
}
/**
*
* render the form element
*
* @return string
*/
public function render()
{
$output = null;
$brackets = null;
$value = $this->getValue();
$translate = $this->getTranslate();
$multipleAttribute = $this->getAttribute('multiple');
if ($this->getMultiple() === true || !empty($multipleAttribute)) {
$brackets = $this->getBrackets();
if (!empty($multipleAttribute)) {
$output .= '_endTag;
}
}
$output .=
$this->getPrefix()
. ' '
. $this->getSuffix();
return $output;
}
}