Пример #1
0
 public function __construct()
 {
     parent::MY_Model();
     $this->primary_key = "id";
     $this->table_name = "solicitacao";
     $this->order_by = "id";
 }
Пример #2
0
 public function __construct()
 {
     parent::MY_Model();
     $this->primary_key = "id";
     $this->table_name = "custo_crush";
     $this->order_by = "id";
 }
Пример #3
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'regnal';
     $this->tabla['campoclave'] = 'cum';
     $this->tabla['campos'] = array('cum', 'nombre', 'provincia', 'localidad', 'grupo', 'vigencia', 'nivel');
 }
Пример #4
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'participantes';
     $this->tabla['campoclave'] = 'cum';
     $this->tabla['campos'] = array('cum', 'responsable', 'registrado', 'idseisena', 'pasado_edad');
 }
Пример #5
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'usuarios';
     $this->tabla['campoclave'] = 'id';
     $this->tabla['campos'] = array('id', 'usuario', 'pass', 'nombre', 'estado', 'tipo');
 }
Пример #6
0
 public function __construct()
 {
     parent::MY_Model();
     $this->primary_key = "itinerario.id";
     $this->table_name = "itinerario";
     $this->order_by = "itinerario.id";
 }
Пример #7
0
 /**
  * 构造函数
  */
 function sellpointModel()
 {
     parent::MY_Model();
     $this->table = 'pvSellPoint';
     $this->colum = 'Area_2015 area,Region_2015 region,SpSArea_2015 spsarea,Province province,County city,CountyLevel cityLevel,SellPointID userId,SellPointName storeName,Coding coding,Email email,Account userName,Password password';
     $this->load->library('Cache');
 }
Пример #8
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'actividades';
     $this->tabla['campoclave'] = 'id';
     $this->tabla['campos'] = array('id', 'nombre', 'tipo', 'capacidad', 'ocupacion');
 }
 function supplementRoleModel()
 {
     parent::MY_Model();
     $this->table = 'supplementRole';
     $this->fundTypeConf = array(1 => '单店自主', 2 => '城市联合');
     $this->levelConf = array(1 => '普通补报', 2 => '特殊补报');
 }
Пример #10
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'campos';
     $this->tabla['campoclave'] = 'idcampo';
     $this->tabla['campos'] = array('idcampo', 'nombre');
 }
Пример #11
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'staff';
     $this->tabla['campoclave'] = 'cum';
     $this->tabla['campos'] = array('cum', 'estado');
 }
Пример #12
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'configuracion';
     $this->tabla['campoclave'] = 'actualizacion';
     $this->tabla['campos'] = array('actualizacion', 'campos', 'manadas', 'seisenas', 'edad_limite');
 }
Пример #13
0
 public function __construct()
 {
     parent::MY_Model();
     $this->primary_key = "id";
     $this->table_name = "usuariomodulo";
     $this->order_by = "id";
 }
Пример #14
0
 public function __construct()
 {
     parent::MY_Model();
     $this->tabla['nombre'] = 'seisenas';
     $this->tabla['campoclave'] = 'idseisena';
     $this->tabla['campos'] = array('idseisena', 'idmanada', 'idcampo', 'provincia', 'elementos');
 }
Пример #15
0
 function Report_m()
 {
     parent::MY_Model();
     $this->load->helper('xml');
     $this->load->helper('text');
     $this->load->helper('file');
     //$this->load->library('amzdb');
     $this->ci->load->model('products_trends_m', 'ProductsTrends');
 }
Пример #16
0
 function _construct()
 {
     parent::MY_Model();
     log_message('debug', 'noSqlDb Class Initialized');
     //select which nosql adapter to use
     switch ($this->config->item('nosql_db')) {
         case 'dynamodb':
             $this->_nosql = $this->ci->load->library('amzdb');
             break;
         case 'mysql':
         default:
             $this->_nosql = $this->ci->load->library('nosqlMysql');
             break;
     }
 }
Пример #17
0
 public function Crowl_m()
 {
     parent::MY_Model();
     set_time_limit(0);
     ini_set("memory_limit", "400M");
     $this->load->library('simple_html_dom');
     $this->load->library('email');
     $this->ci->load->model('products_trends_m', 'ProductsTrends');
     $this->ci->load->model('products_m', 'Products');
     //$this->load->model("products_m", "Products:");
     /* Load the db adapter class */
     require_once dirname(BASEPATH) . '/system/application/libraries/mydb.php';
     $marketplaces = get_market_lookup(FALSE, TRUE);
     if (!empty($marketplaces)) {
         foreach ($marketplaces as $api) {
             $this->globalArray[$api] = array();
         }
     }
 }
Пример #18
0
 function Violator_m()
 {
     parent::MY_Model();
     $this->ci->load->model('products_trends_m', 'ProductsTrends');
     if (!isset($this->ci->Crawl_data)) {
         $this->ci->load->model('crawl_data_m', 'Crawl_data');
     }
     $this->crawlStart = $this->crawlEnd = time();
     // TODO:  This is totally wrong.  It should be per marketplace, otherwise it will return whatever the last data is, using the default "all" param
     // might be better to fetch ->last_crawl() first, then deallocate the marketplace name index as needed.
     // maybe check for URL/router arguments here and set crawl range for this object now.
     if ($this->config->item('environment') == 'local') {
         $this->crawlStart = '2015-08-01 00:00:00';
         $this->crawlEnd = '2015-08-02 00:00:00';
     } else {
         $range = $this->ci->Crawl_data->last_crawl_range();
         $this->crawlStart = $range['from'];
         $this->crawlEnd = $range['to'];
     }
 }
Пример #19
0
 function HelperFileModel()
 {
     parent::MY_Model();
     $this->table = 'HelperFile';
 }
Пример #20
0
 function xunProjectModel()
 {
     parent::MY_Model();
     $this->table = 'XunProject';
 }
Пример #21
0
 function auditLogModel()
 {
     parent::MY_Model();
     $this->table = 'AuditLog';
 }
Пример #22
0
 function jurSellpointModel()
 {
     parent::MY_Model();
     $this->table = 'js_jurisdiction_sellpoint';
 }
Пример #23
0
 function proTypeModel()
 {
     parent::MY_Model();
     $this->table = 'ProType';
     $this->load->library('Cache');
 }
Пример #24
0
 function Account_m()
 {
     parent::MY_Model();
 }
Пример #25
0
 function xPOfflineModel()
 {
     parent::MY_Model();
     $this->table = 'XPOffline';
 }
 function proReportModel()
 {
     parent::MY_Model();
     $this->table = 'ProReport';
 }
Пример #27
0
 function xPGxModel()
 {
     parent::MY_Model();
     $this->table = 'XPGx';
 }
 function specialOnlineModel()
 {
     parent::MY_Model();
     $this->table = 'SpecialOnline';
 }
Пример #29
0
 function commonOnlineModel()
 {
     parent::MY_Model();
     $this->table = 'CommonOnline';
 }
Пример #30
0
 function carMatchingModel()
 {
     parent::MY_Model();
     $this->table = 'CarMatching';
 }