| 123456789101112131415161718192021222324 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Model_transfer extends Lin_Model {	function __construct(){	parent::__construct();	$this->load->database();	$this->table = 'transfer';    $this->load_table('transfer');}    public function get_title($title)	{		return  $this->find("title = '$title'");		}	public function get_list()	{		$list = array();		$s = $this->find_all("1=1");		foreach ($s as $v) 		{			$list[$v['id']] = $v['title'];        }		return  $list;	}}  //end class
 |