12345678910111213141516171819 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_fullorderexcelclassid extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'fullorderexcelclassid';
- $this->load_table('fullorderexcelclassid');
- }
- /** 通过API查找 */
- public function get_title($title)
- {
- return $this->find("title = '$title'");
- }
- public function get_type($type)
- {
- return $this->find("type = '$type'");
- }
- } //end class
|