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