- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_systemboxclassid extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'systemboxclassid';
- $this->load_table('systemboxclassid');
- }
- public function get_box($box)
- {
- return $this->find("box = '$box'");
- }
- } //end class
|