_baseUrl = Front::getInstance()->getRequest()->getBaseUrl();
$this->setHeaderCode('')
->setBodyCode('')
->setBodyCode(
"");
}
$this->addAttribute('class', self::ELEMENT_CLASS);
}
public function render()
{
$output = null;
$value = $this->getValue();
if ($this->getMultiple() === true) {
$this->_attributes['multiple'] = 'multiple';
$brackets = '';
// used for when having a table with chznselect fields
if (isset($this->_customData['doubleBrackets'])) {
if ($this->_customData['doubleBrackets'] == true) {
$brackets = $this->getBrackets();
$this->setBrackets($brackets . '[]');
}
}
$output .= '_endTag;
}
if (!isset($this->_attributes['size'])) {
$this->_attributes['size'] = self::SELECT_MULTIPLE_SIZE;
}
$output .= '';
return $output;
}
}