当前位置: 首页>>代码示例>>PHP>>正文


PHP AdminController::SQLtableResponder方法代码示例

本文整理汇总了PHP中AdminController::SQLtableResponder方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminController::SQLtableResponder方法的具体用法?PHP AdminController::SQLtableResponder怎么用?PHP AdminController::SQLtableResponder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AdminController的用法示例。


在下文中一共展示了AdminController::SQLtableResponder方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: postIndex

 public function postIndex()
 {
     $this->fields = Config::get('jex.default_courier_fields');
     $db = Config::get('jayon.main_db');
     $this->def_order_by = 'ordertime';
     $this->def_order_dir = 'desc';
     $this->place_action = 'first';
     $this->show_select = true;
     $this->sql_key = 'delivery_id';
     $this->sql_table_name = Config::get('jayon.incoming_delivery_table');
     $this->sql_connection = 'mysql';
     return parent::SQLtableResponder();
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:13,代码来源:CourierassignController.php

示例2: postIndex

 public function postIndex()
 {
     $this->fields = array(array('ordertime', array('kind' => 'daterange', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('pickuptime', array('kind' => 'daterange', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('pickup_person', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('pickup_person', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('buyerdeliverytime', array('kind' => 'daterange', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('buyerdeliveryslot', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('buyerdeliveryzone', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('buyerdeliverycity', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('shipping_address', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('merchant_trans_id', array('kind' => 'text', 'callback' => 'dispBar', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('delivery_type', array('kind' => 'text', 'callback' => 'colorizetype', 'query' => 'like', 'pos' => 'both', 'show' => true)), array(Config::get('jayon.jayon_members_table') . '.merchantname', array('kind' => 'text', 'alias' => 'merchant_name', 'query' => 'like', 'callback' => 'merchantInfo', 'pos' => 'both', 'show' => true)), array('delivery_id', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('status', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('directions', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('delivery_id', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('delivery_cost', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('cod_cost', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('total_price', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('buyer_name', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('shipping_zip', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('phone', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('volume', array('kind' => 'numeric', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('weight', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)));
     /*
     $categoryFilter = Input::get('categoryFilter');
     if($categoryFilter != ''){
         $this->additional_query = array('shopcategoryLink'=>$categoryFilter, 'group_id'=>4);
     }
     */
     $db = Config::get('jayon.main_db');
     $this->def_order_by = 'ordertime';
     $this->def_order_dir = 'desc';
     $this->place_action = 'first';
     $this->show_select = true;
     $this->sql_key = 'delivery_id';
     $this->sql_table_name = Config::get('jayon.incoming_delivery_table');
     $this->sql_connection = 'mysql';
     return parent::SQLtableResponder();
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:19,代码来源:OrderarchiveController.php

示例3: postIndex

 public function postIndex()
 {
     $this->fields = Config::get('jex.default_incoming_fields');
     /*
     $categoryFilter = Input::get('categoryFilter');
     if($categoryFilter != ''){
         $this->additional_query = array('shopcategoryLink'=>$categoryFilter, 'group_id'=>4);
     }
     */
     $db = Config::get('jayon.main_db');
     $this->def_order_by = 'ordertime';
     $this->def_order_dir = 'desc';
     $this->place_action = 'first';
     $this->show_select = true;
     $this->sql_key = 'delivery_id';
     $this->sql_table_name = Config::get('jayon.incoming_delivery_table');
     $this->sql_connection = 'mysql';
     return parent::SQLtableResponder();
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:19,代码来源:CanceledController.php

示例4: postIndex

 public function postIndex()
 {
     $this->fields = array(array('identifier', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('devname', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('descriptor', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('key', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('mobile', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('district', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('city', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('color', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('is_on', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)));
     /*
     $categoryFilter = Input::get('categoryFilter');
     if($categoryFilter != ''){
         $this->additional_query = array('shopcategoryLink'=>$categoryFilter, 'group_id'=>4);
     }
     */
     $db = Config::get('jayon.main_db');
     $this->def_order_by = 'identifier';
     $this->def_order_dir = 'desc';
     $this->place_action = 'first';
     $this->show_select = true;
     $this->sql_key = 'identifier';
     $this->sql_table_name = Config::get('jayon.jayon_devices_table');
     $this->sql_connection = 'mysql';
     return parent::SQLtableResponder();
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:19,代码来源:DeviceController.php

示例5: postIndex

 public function postIndex()
 {
     $this->fields = array(array('PERIOD', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('TRANS_DATETIME', array('kind' => 'daterange', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('VCHR_NUM', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('ACCNT_CODE', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('j10_acnt.DESCR', array('kind' => 'text', 'alias' => 'ACC_DESCR', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('TREFERENCE', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('CONV_CODE', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('OTHER_AMT', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('BASE_RATE', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('AMOUNT', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('DESCRIPTN', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)));
     /*
     $categoryFilter = Input::get('categoryFilter');
     if($categoryFilter != ''){
         $this->additional_query = array('shopcategoryLink'=>$categoryFilter, 'group_id'=>4);
     }
     */
     $db = Config::get('lundin.main_db');
     $company = Input::get('acc-company');
     $company = strtolower($company);
     if (Schema::hasTable($db . '.' . $company . '_a_salfldg')) {
         $company = Config::get('lundin.default_company');
     }
     $company = strtolower($company);
     $this->def_order_by = 'TRANS_DATETIME';
     $this->def_order_dir = 'DESC';
     $this->place_action = 'none';
     $this->show_select = false;
     $this->sql_key = 'TRANS_DATETIME';
     $this->sql_table_name = $company . '_a_salfldg';
     $this->sql_connection = 'mysql2';
     return parent::SQLtableResponder();
 }
开发者ID:awidarto,项目名称:jexadmin,代码行数:25,代码来源:DevmanifestController.php


注:本文中的AdminController::SQLtableResponder方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。