Model_systemboxclassid.php 389 B

1234567891011121314
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_systemboxclassid extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'systemboxclassid';
  8. $this->load_table('systemboxclassid');
  9. }
  10. public function get_box($box)
  11. {
  12. return $this->find("box = '$box'");
  13. }
  14. } //end class