public function __construct() { parent::MY_Model(); $this->primary_key = "id"; $this->table_name = "solicitacao"; $this->order_by = "id"; }
public function __construct() { parent::MY_Model(); $this->primary_key = "id"; $this->table_name = "custo_crush"; $this->order_by = "id"; }
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'); }
public function __construct() { parent::MY_Model(); $this->tabla['nombre'] = 'participantes'; $this->tabla['campoclave'] = 'cum'; $this->tabla['campos'] = array('cum', 'responsable', 'registrado', 'idseisena', 'pasado_edad'); }
public function __construct() { parent::MY_Model(); $this->tabla['nombre'] = 'usuarios'; $this->tabla['campoclave'] = 'id'; $this->tabla['campos'] = array('id', 'usuario', 'pass', 'nombre', 'estado', 'tipo'); }
public function __construct() { parent::MY_Model(); $this->primary_key = "itinerario.id"; $this->table_name = "itinerario"; $this->order_by = "itinerario.id"; }
/** * 构造函数 */ 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'); }
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 => '特殊补报'); }
public function __construct() { parent::MY_Model(); $this->tabla['nombre'] = 'campos'; $this->tabla['campoclave'] = 'idcampo'; $this->tabla['campos'] = array('idcampo', 'nombre'); }
public function __construct() { parent::MY_Model(); $this->tabla['nombre'] = 'staff'; $this->tabla['campoclave'] = 'cum'; $this->tabla['campos'] = array('cum', 'estado'); }
public function __construct() { parent::MY_Model(); $this->tabla['nombre'] = 'configuracion'; $this->tabla['campoclave'] = 'actualizacion'; $this->tabla['campos'] = array('actualizacion', 'campos', 'manadas', 'seisenas', 'edad_limite'); }
public function __construct() { parent::MY_Model(); $this->primary_key = "id"; $this->table_name = "usuariomodulo"; $this->order_by = "id"; }
public function __construct() { parent::MY_Model(); $this->tabla['nombre'] = 'seisenas'; $this->tabla['campoclave'] = 'idseisena'; $this->tabla['campos'] = array('idseisena', 'idmanada', 'idcampo', 'provincia', 'elementos'); }
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'); }
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; } }
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(); } } }
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']; } }
function HelperFileModel() { parent::MY_Model(); $this->table = 'HelperFile'; }
function xunProjectModel() { parent::MY_Model(); $this->table = 'XunProject'; }
function auditLogModel() { parent::MY_Model(); $this->table = 'AuditLog'; }
function jurSellpointModel() { parent::MY_Model(); $this->table = 'js_jurisdiction_sellpoint'; }
function proTypeModel() { parent::MY_Model(); $this->table = 'ProType'; $this->load->library('Cache'); }
function Account_m() { parent::MY_Model(); }
function xPOfflineModel() { parent::MY_Model(); $this->table = 'XPOffline'; }
function proReportModel() { parent::MY_Model(); $this->table = 'ProReport'; }
function xPGxModel() { parent::MY_Model(); $this->table = 'XPGx'; }
function specialOnlineModel() { parent::MY_Model(); $this->table = 'SpecialOnline'; }
function commonOnlineModel() { parent::MY_Model(); $this->table = 'CommonOnline'; }
function carMatchingModel() { parent::MY_Model(); $this->table = 'CarMatching'; }