"pfbc-select"); public function render() { if(isset($this->attributes["value"])) { if(!is_array($this->attributes["value"])) $this->attributes["value"] = array($this->attributes["value"]); } else $this->attributes["value"] = array(); if(!empty($this->attributes["multiple"]) && substr($this->attributes["name"], -2) != "[]") $this->attributes["name"] .= "[]"; echo 'getAttributes(array("value", "selected")), '>'; foreach($this->options as $value => $text) { $value = $this->getOptionValue($value); echo ''; } echo ''; } }