本文整理汇总了PHP中AdminController::postIndex方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminController::postIndex方法的具体用法?PHP AdminController::postIndex怎么用?PHP AdminController::postIndex使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminController
的用法示例。
在下文中一共展示了AdminController::postIndex方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: postIndex
public function postIndex()
{
$this->fields = array(array('timestamp', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('class', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('method', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('actor', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'attr' => array('class' => 'expander'))), array('result', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$this->def_order_by = 'timestamp';
$this->def_order_dir = 'desc';
return parent::postIndex();
}
示例2: postIndex
public function postIndex()
{
$this->fields = array(array('SKU', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('unitId', array('kind' => 'text', 'query' => 'like', 'callback' => 'shortunit', 'pos' => 'after', 'attr' => array('class' => 'expander'), 'show' => true)), array('SKU', array('kind' => 'text', 'callback' => 'dispBar', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('outletName', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('status', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('action', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('scancheckDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$this->place_action = 'none';
$this->def_order_by = 'scancheckDate';
$this->def_order_dir = 'desc';
return parent::postIndex();
}
示例3: postIndex
public function postIndex()
{
$this->fields = array(array('mtimestamp', array('kind' => 'daterange', 'callback' => 'showDatetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('deviceId', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('sourceSensor', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('latitude', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('longitude', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('deliveryId', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('status', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('event', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('appname', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$this->def_order_by = 'mtimestamp';
$this->def_order_dir = 'desc';
$this->show_select = false;
$this->place_action = 'none';
return parent::postIndex();
}
示例4: postIndex
public function postIndex()
{
//$this->fields = $this->def_fields;
$this->def_order_by = 'createdDate';
$this->def_order_dir = 'desc';
$this->show_select = false;
$this->place_action = 'none';
return parent::postIndex();
}
示例5: postIndex
public function postIndex()
{
$this->fields = array(array('created_at', array('kind' => 'datetimerange', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('func', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('in', array('kind' => 'text', 'query' => 'like', 'callback' => 'arrTextIn', 'pos' => 'both', 'show' => true)), array('out', array('kind' => 'text', 'query' => 'like', 'callback' => 'arrTextOut', 'pos' => 'both', 'show' => true, 'attr' => array('class' => 'expander'))));
$this->place_action = 'first';
$this->show_select = false;
$this->def_order_by = 'created_at';
$this->def_order_dir = 'desc';
return parent::postIndex();
}
示例6: postIndex
public function postIndex()
{
$this->fields = array(array('SKU', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('SKU', array('kind' => 'text', 'callback' => 'dispBar', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('SKU', array('kind' => 'text', 'callback' => 'namePic', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('itemDescription', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('series', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('priceRegular', array('kind' => 'numeric', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('priceDiscount', array('kind' => 'numeric', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('category', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('L', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('W', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('H', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('D', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('sizeDescription', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('colour', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('material', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('tags', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'splitTag')), array('createdDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('lastUpdate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$categoryFilter = Input::get('categoryFilter');
if ($categoryFilter != '') {
$this->additional_query = array('category' => $categoryFilter);
}
return parent::postIndex();
}
示例7: postIndex
public function postIndex()
{
$this->fields = array(array('SKU', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('_id', array('kind' => 'text', 'query' => 'like', 'pos' => 'after', 'callback' => 'shortunit', 'attr' => array('class' => 'expander'), 'show' => true)), array('SKU', array('kind' => 'text', 'callback' => 'dispBar', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('SKU', array('kind' => 'text', 'callback' => 'namePic', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('outletName', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('status', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('tags', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('createdDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('lastUpdate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$outletFilter = Input::get('outletNameFilter');
if ($outletFilter != '') {
$this->additional_query = array('outletName' => $outletFilter);
}
$this->place_action = 'none';
return parent::postIndex();
}
示例8: postIndex
public function postIndex()
{
$this->fields = array(array('SKU', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'callback' => 'dispBar', 'attr' => array('class' => 'expander'), 'show' => true)), array('SKU', array('kind' => 'text', 'callback' => 'namePic', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('itemDescription', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'attr' => array('class' => 'expander'), 'show' => true)), array('locationId', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'callback' => 'locationName', 'show' => true)), array('tags', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'splitTag')), array('createdDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('lastUpdate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$categoryFilter = Input::get('categoryFilter');
if ($categoryFilter != '') {
$this->additional_query = array('category' => $categoryFilter);
}
$this->place_action = 'first';
return parent::postIndex();
}
示例9: postTimeline
public function postTimeline()
{
$this->fields = array(array('timestamp', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('object.no_sales_order', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('object.fulfillment_code', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('object.courier_name', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('object.device_name', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('actor', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('object.status', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'callback' => 'objStatusList', 'show' => true)));
$this->place_action = 'none';
$this->def_order_by = 'timestamp';
$this->def_order_dir = 'desc';
$this->model = new Shipmentlog();
$this->show_select = false;
return parent::postIndex();
}
示例10: postApproval
public function postApproval()
{
$this->fields = array(array('approvalStatus', array('kind' => 'text', 'callback' => 'buttonStatus', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('assetId', array('kind' => 'text', 'callback' => 'assetName', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('actorName', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('requestDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$this->place_action = 'none';
$this->def_order_by = 'requestDate';
$this->def_order_dir = 'desc';
$this->model = new Approval();
$this->show_select = false;
return parent::postIndex();
}
示例11: postIndex
public function postIndex()
{
$this->fields = array(array('SKU', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'itemDesc')), array('unitId', array('kind' => 'text', 'query' => 'like', 'pos' => 'after', 'show' => true)), array('quantity', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('unitPrice', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'toIdr')), array('unitTotal', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'toIdr')));
$this->place_action = 'none';
$this->def_order_by = 'SKU';
$this->def_order_dir = 'desc';
$session = Input::get('session');
$session = is_null($session) || !isset($session) ? '' : $session;
$this->additional_query = array('sessionId' => $session);
return parent::postIndex();
}
示例12: postIndex
public function postIndex()
{
$this->fields = array(array('sessionId', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('SKU', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'itemDesc')), array('unitId', array('kind' => 'text', 'query' => 'like', 'pos' => 'after', 'show' => true)), array('quantity', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('unitPrice', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'toIdr')), array('unitTotal', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'toIdr')), array('createdDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('lastUpdate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
/*
$outletFilter = Input::get('outletNameFilter');
if($outletFilter != ''){
$this->additional_query = array('outletName'=>$outletFilter);
}
*/
$this->place_action = 'none';
return parent::postIndex();
}
示例13: postIndex
public function postIndex()
{
$this->fields = array(array('title', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('slug', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('creatorName', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'attr' => array('class' => 'expander'))), array('section', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'callback' => 'titleCase', 'show' => true)), array('category', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'callback' => 'titleCase', 'show' => true)), array('tags', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'callback' => 'splitTag')), array('createdDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('lastUpdate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
return parent::postIndex();
}
示例14: postIndex
public function postIndex()
{
$this->fields = array(array('fullname', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('roleId', array('kind' => 'text', 'callback' => 'idRole', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('email', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'attr' => array('class' => 'expander'))), array('mobile', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('address_1', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('createdDate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('lastUpdate', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)));
return parent::postIndex();
}
示例15: postIndex
public function postIndex()
{
$this->fields = array(array('created_at', array('kind' => 'datetime', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('HTTP_REFERER', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('REQUEST_URI', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)), array('REMOTE_ADDR', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true, 'attr' => array('class' => 'expander'))), array('REDIRECT_STATUS', array('kind' => 'text', 'query' => 'like', 'pos' => 'both', 'show' => true)));
$this->place_action = 'none';
return parent::postIndex();
}