本文整理汇总了PHP中AdminController::getIndex方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminController::getIndex方法的具体用法?PHP AdminController::getIndex怎么用?PHP AdminController::getIndex使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminController
的用法示例。
在下文中一共展示了AdminController::getIndex方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getIndex
public function getIndex()
{
$this->heads = array(array('From', array('search' => false, 'sort' => false)), array('Email', array('search' => true, 'sort' => true)), array('Phone', array('search' => true, 'sort' => true)), array('Message', array('search' => true, 'sort' => true)), array('Enquiry Type', array('search' => true, 'sort' => true)), array('Category', array('search' => true, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Enquiry';
return parent::getIndex();
}
示例2: getIndex
public function getIndex()
{
$this->heads = array(array('Title', array('search' => true, 'sort' => true)), array('Permalink', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Product Category';
return parent::getIndex();
}
示例3: getIndex
public function getIndex()
{
$categories = Prefs::getCategory()->catToSelection('title', 'title');
$this->heads = array(array('Title', array('search' => true, 'sort' => true)), array('Creator', array('search' => true, 'sort' => false)), array('Category', array('search' => true, 'select' => $categories, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
return parent::getIndex();
}
示例4: getIndex
public function getIndex()
{
$this->heads = array(array('Role', array('search' => true, 'sort' => false, 'select' => Prefs::getRole()->RoleToSelection('_id', 'rolename'))), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
Breadcrumbs::addCrumb('System', URL::to(strtolower($this->controller_name)));
return parent::getIndex();
}
示例5: getIndex
public function getIndex()
{
$this->heads = array(array('Name', array('search' => false, 'sort' => false)), array('Venue', array('search' => true, 'sort' => true)), array('Address', array('search' => true, 'sort' => true)), array('Category', array('search' => true, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Outlet';
return parent::getIndex();
}
示例6: getIndex
public function getIndex()
{
$this->heads = array(array('Title', array('search' => false, 'sort' => false)), array('Status', array('search' => true, 'sort' => true)), array('From', array('search' => true, 'sort' => true)), array('To', array('search' => true, 'sort' => true)), array('Trigger', array('search' => true, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Campaigns';
return parent::getIndex();
}
示例7: getIndex
public function getIndex()
{
/*
'activeCart' => '5260f68b8dfa19da49000000',
'address_1' => 'jl cibaduyut lama komplek sauyunan mas 1 no 19',
'address_2' => '',
'agreetnc' => 'Yes',
'bankname' => 'bca',
'branch' => 'bandung',
'city' => 'bandung',
'country' => 'Indonesia',
'createdDate' => new MongoDate(1382086083, 795000),
'email' => 'emptyshalu@gmail.com',
'firstname' => 'shalu',
'fullname' => 'shalu hz',
'lastUpdate' => new MongoDate(1382086083, 795000),
'lastname' => 'shalu',
'mobile' => '0818229096',
'pass' => '$2a$08$9XwvZZVLsHSzu4MIX1ro3.X3cdhK0btglG7qqLGPgOA6/yYz5a51C',
'role' => 'shopper',
'salutation' => 'Ms',
'saveinfo' => 'No',
'shippingphone' => '02285447649',
'shopperseq' => '0000000019',
'zip' => '40235',
*/
$this->heads = array(array('Time', array('search' => true, 'sort' => true, 'date' => true)), array('Main Activity', array('search' => true, 'sort' => false)), array('Sub Activity', array('search' => true, 'sort' => true)), array('Actor', array('search' => true, 'sort' => true)), array('Result', array('search' => true, 'sort' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'API Access Log';
return parent::getIndex();
}
示例8: getIndex
public function getIndex()
{
$this->heads = array(array('Photos', array('search' => false, 'sort' => false)), array('Property ID', array('search' => true, 'sort' => true)), array('Source ID', array('search' => true, 'sort' => true)), array('Number', array('search' => true, 'sort' => true)), array('Address', array('search' => true, 'sort' => true)), array('City', array('search' => true, 'sort' => true)), array('ZIP', array('search' => true, 'sort' => true)), array('State', array('search' => true, 'sort' => true)), array('Bed', array('search' => true, 'sort' => false)), array('Bath', array('search' => true, 'sort' => true)), array('Category', array('search' => true, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Status', array('search' => true, 'sort' => true, 'select' => Config::get('ia.search_publishing'))), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Property';
$this->can_add = true;
return parent::getIndex();
}
示例9: getIndex
public function getIndex()
{
$this->heads = array(array('Full Name', array('search' => true, 'sort' => true)), array('Role', array('search' => true, 'sort' => false, 'select' => Prefs::getRole()->RoleToSelection('_id', 'rolename'))), array('Email', array('search' => true, 'sort' => true)), array('Mobile', array('search' => true, 'sort' => true)), array('Address', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
$this->title = 'Employees';
$this->place_action = 'first';
Breadcrumbs::addCrumb('HRMS', URL::to(strtolower($this->controller_name)));
return parent::getIndex();
}
示例10: getIndex
public function getIndex()
{
$this->heads = array(array('REQUEST_TIME', array('search' => true, 'sort' => true, 'datetimerange' => true)), array('HTTP_REFERER', array('search' => true, 'sort' => false)), array('REQUEST_URI', array('search' => true, 'sort' => true)), array('REMOTE_ADDR', array('search' => true, 'sort' => true)), array('REDIRECT_STATUS', array('search' => true, 'sort' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Site Access';
$this->place_action = 'none';
return parent::getIndex();
}
示例11: getIndex
public function getIndex()
{
$this->heads = array(array('Type', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'daterange' => true)), array('Last Update', array('search' => true, 'sort' => true, 'daterange' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Device Type';
Breadcrumbs::addCrumb('Assets', URL::to(strtolower($this->controller_name)));
return parent::getIndex();
}
示例12: getIndex
public function getIndex()
{
$this->heads = array(array('Name', array('search' => false, 'sort' => false)), array('Code', array('search' => false, 'sort' => false)), array('Venue', array('search' => true, 'sort' => true)), array('Address', array('search' => true, 'sort' => true)), array('Category', array('search' => true, 'sort' => true, 'select' => Config::get('asset.location_category'))), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'daterange' => true)), array('Last Update', array('search' => true, 'sort' => true, 'daterange' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Location';
Breadcrumbs::addCrumb('Assets', URL::to(strtolower($this->controller_name)));
$this->additional_filter = View::make('assetlocation.addfilter')->render();
return parent::getIndex();
}
示例13: getIndex
public function getIndex()
{
$categories = Prefs::getCategory()->catToSelection('title', 'title');
$this->heads = array(array('Title', array('search' => true, 'sort' => true)), array('Status', array('search' => true, 'sort' => true)), array('Creator', array('search' => true, 'sort' => false)), array('Category', array('search' => true, 'select' => $categories, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->modal_sets = View::make(strtolower($this->controller_name) . '.modal')->render();
$this->js_table_event = View::make(strtolower($this->controller_name) . '.jsevent')->render();
return parent::getIndex();
}
示例14: getIndex
public function getIndex()
{
//$this->heads = $this->def_heads;
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Photo Log';
$this->show_select = false;
$this->place_action = 'none';
return parent::getIndex();
}
示例15: getIndex
public function getIndex()
{
$this->heads = array(array('SKU', array('search' => true, 'sort' => true)), array('Code', array('search' => true, 'sort' => true, 'attr' => array('class' => 'span2'))), array('Picture', array('search' => true, 'sort' => true, 'attr' => array('class' => 'span2'))), array('Description', array('search' => true, 'sort' => true)), array('Series', array('search' => true, 'sort' => true)), array('Price', array('search' => true, 'sort' => true)), array('Disc. Price', array('search' => true, 'sort' => true)), array('Category', array('search' => true, 'sort' => true, 'select' => Prefs::ExtractProductCategory())), array('Length / Panjang', array('search' => true, 'sort' => true)), array('Width / Lebar', array('search' => true, 'sort' => true)), array('Height / Tinggi', array('search' => true, 'sort' => false)), array('Diameter', array('search' => true, 'sort' => false)), array('Size Description', array('search' => true, 'sort' => true)), array('Color', array('search' => true, 'sort' => true)), array('Material', array('search' => true, 'sort' => true)), array('Tags', array('search' => true, 'sort' => true)), array('Created', array('search' => true, 'sort' => true, 'date' => true)), array('Last Update', array('search' => true, 'sort' => true, 'date' => true)));
//print $this->model->where('docFormat','picture')->get()->toJSON();
$this->title = 'Products';
$this->additional_filter = View::make('products.addfilter')->render();
$this->js_additional_param = "aoData.push( { 'name':'categoryFilter', 'value': \$('#assigned-product-filter').val() } );";
return parent::getIndex();
}