public function generateIndexTypeSelector() { $types = array("" => "--"); foreach (Index::getIndexTypes() as $type) { $types[$type] = $type; } return Util::getDropdown("index[Index_type]", $types, $this->_type, "select_index_type"); }