Model_fullorderexcelclassid.php 519 B

12345678910111213141516171819
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_fullorderexcelclassid extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'fullorderexcelclassid';
  8. $this->load_table('fullorderexcelclassid');
  9. }
  10. /** 通过API查找 */
  11. public function get_title($title)
  12. {
  13. return $this->find("title = '$title'");
  14. }
  15. public function get_type($type)
  16. {
  17. return $this->find("type = '$type'");
  18. }
  19. } //end class