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