本文整理汇总了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();
}
示例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();
}
示例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();
}