You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
421 B
PHP
24 lines
421 B
PHP
<?php
|
|
|
|
class Category extends CI_Model
|
|
{
|
|
public $catCode;
|
|
public $catDesc;
|
|
public $groupid;
|
|
public $lastID;
|
|
public $editDate;
|
|
public $creationDate;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->load->database();
|
|
}
|
|
|
|
public function getAllCategoryCodeAndDesc()
|
|
{
|
|
$this->db->select("catCode, catDesc");
|
|
return $this->db->get("category");
|
|
}
|
|
} |