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


PHP AdminController::postSQLIndex方法代码示例

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


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

示例1: postIndex

 public function postIndex()
 {
     $this->fields = array(array('DESCR', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('DB_CODE', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('LAST_CHANGE_DATETIME', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
     $this->def_order_by = 'LAST_CHANGE_DATETIME';
     $this->def_order_dir = 'ASC';
     $this->place_action = 'none';
     $this->show_select = false;
     $this->sql_key = 'DB_CODE';
     $this->sql_table_name = 'db_defn';
     $this->sql_connection = 'mysql3';
     return parent::postSQLIndex();
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:12,代码来源:CompanyController.php

示例2: postIndex

 public function postIndex()
 {
     $this->fields = array(array('ACNT_CODE', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('DESCR', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('S_HEAD', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('LOOKUP', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('LONG_DESCR', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('LAST_CHANGE_DATETIME', array('kind' => 'daterange', 'query' => 'like', 'pos' => 'both', 'show' => true)));
     $this->def_order_by = 'ACNT_CODE';
     $this->def_order_dir = 'ASC';
     $this->place_action = 'none';
     $this->show_select = false;
     $this->sql_key = 'TRANS_DATETIME';
     $this->sql_table_name = 'j10_acnt';
     $this->sql_connection = 'mysql2';
     return parent::postSQLIndex();
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:12,代码来源:CoaController.php

示例3: postIndex

 public function postIndex()
 {
     $this->fields = array(array('id', array('kind' => 'numeric', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('merchantname', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('group_id', array('kind' => 'numeric', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('mc_url', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('email', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('phone', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('street', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('city', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('created', array('kind' => 'datetimerange', 'query' => 'like', 'pos' => 'both', 'show' => true)));
     /*
     $categoryFilter = Input::get('categoryFilter');
     if($categoryFilter != ''){
         $this->additional_query = array('shopcategoryLink'=>$categoryFilter, 'group_id'=>4);
     }
     */
     $this->def_order_by = 'created';
     $this->place_action = 'first';
     return parent::postSQLIndex();
 }
开发者ID:awidarto,项目名称:bilnatracker,代码行数:13,代码来源:MerchantController.php


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