Default HTML select box * The values are added via the 'extra' editor parameter as an array or a value list separated by | * * @author Stefan Daurer */ class MMComEditorOptionDefault extends MMComEditorBase { public static function getHandledDataType() { return 'option'; } public function resetCSSClass() { $this->setCSSClass('option'); } public function generate($parent) { $value = $this->getValue(); $options = $this->getParam('extra'); if(is_string($options)) $options = explode('|', $options); if(!is_array($options)) { $options = array(); } $css = $this->getCSSClass(); $st = ''; return array('html' => $st); } }