fix
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* COREGRADE
|
||||
*/
|
||||
class Combo_model extends CI_Model {
|
||||
|
||||
var $optCons = '';
|
||||
@@ -16,10 +18,10 @@ class Combo_model extends CI_Model {
|
||||
public function getCardList(){
|
||||
return 'Tokun';
|
||||
}
|
||||
public function getpageTemplate($option_name, $curVal) {
|
||||
public function getPageTemplate($option_name, $curVal) {
|
||||
$sql = "SELECT id, template_name FROM page_templates ORDER BY template_name ASC";
|
||||
$q = $this->db->query($sql);
|
||||
$option_value = $this->optionValueObject($q->result(), "id", "description", $curVal);
|
||||
$option_value = $this->optionValueObject($q->result(), "id", "template_name", $curVal);
|
||||
return $this->comboFrame($option_name, $option_value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user