本文整理汇总了PHP中Backend\Core\Engine\Base\ActionIndex::execute方法的典型用法代码示例。如果您正苦于以下问题:PHP ActionIndex::execute方法的具体用法?PHP ActionIndex::execute怎么用?PHP ActionIndex::execute使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Backend\Core\Engine\Base\ActionIndex
的用法示例。
在下文中一共展示了ActionIndex::execute方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
$this->loadDataGrid();
$this->parse();
$this->display();
}
示例2: execute
/**
* Execute the action.
*/
public function execute()
{
parent::execute();
$this->setFilter();
$this->setItems();
$this->createXML();
}
示例3: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
$this->loadForm();
$this->validateForm();
$this->parse();
$this->display();
}
示例4: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
$this->checkForDefaultGroups();
$this->loadDataGrid();
$this->parse();
$this->display();
}
示例5: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
$this->header->addJS('highcharts.js', 'Core', false);
$this->getData();
$this->loadDataGrid();
$this->parse();
$this->display();
}
示例6: execute
public function execute()
{
parent::execute();
/* Set the initial date range */
$this->dateRange = new DateRange();
$this->handleDateRangeForm();
$this->parse();
$this->display();
}
示例7: execute
/**
* Execute the action.
*/
public function execute()
{
parent::execute();
$this->loadData();
$this->loadDataGridInstalled();
$this->loadDataGridInstallable();
$this->parse();
$this->display();
}
示例8: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
$this->isGod = BackendAuthentication::getUser()->isGod();
$this->setFilter();
$this->loadForm();
$this->loadDataGrid();
$this->parse();
$this->display();
}
示例9: execute
/**
* Execute the action.
*/
public function execute()
{
parent::execute();
// load the data
$this->loadData();
// load the form
$this->loadForm();
$this->validateForm();
$this->parse();
$this->display();
}
示例10: execute
/**
* Execute the action
*
* @return void
*/
public function execute()
{
// call parent, this will probably add some general CSS/JS or other required files
parent::execute();
// load the datagrids
$this->loadDataGrids();
// parse the datagrids
$this->parse();
// display the page
$this->display();
}
示例11: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
// add js
$this->header->addJS('http://maps.google.com/maps/api/js?sensor=false', null, false, true, false);
$this->loadData();
$this->loadDataGrid();
$this->loadSettingsForm();
$this->parse();
$this->display();
}
示例12: execute
public function execute()
{
parent::execute();
$this->loadData();
// if($this->getParameter('load', 'string', null) == "ok")
// {
//
// }
$this->loadForm();
$this->validateForm();
$this->parse();
$this->display();
}
示例13: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
// get some data
$modulesThatRequireAkismet = BackendExtensionsModel::getModulesThatRequireAkismet();
$modulesThatRequireGoogleMaps = BackendExtensionsModel::getModulesThatRequireGoogleMaps();
// set properties
$this->needsAkismet = !empty($modulesThatRequireAkismet);
$this->needsGoogleMaps = !empty($modulesThatRequireGoogleMaps);
$this->loadForm();
$this->validateForm();
$this->parse();
$this->display();
}
示例14: execute
/**
* Execute the action
*/
public function execute()
{
// check if the user is really logged on
if (BackendAuthentication::getUser()->isAuthenticated()) {
$userEmail = BackendAuthentication::getUser()->getEmail();
$this->getContainer()->get('logger')->info("User '{$userEmail}' is already authenticated.");
$this->redirectToAllowedModuleAndAction();
}
parent::execute();
$this->load();
$this->validateForm();
$this->parse();
$this->display();
}
示例15: execute
/**
* Execute the action
*/
public function execute()
{
parent::execute();
// add js
$this->header->addJS('jstree/jquery.tree.js', null, false);
$this->header->addJS('jstree/lib/jquery.cookie.js', null, false);
$this->header->addJS('jstree/plugins/jquery.tree.cookie.js', null, false);
// load the dgRecentlyEdited
$this->loadDataGrids();
// parse
$this->parse();
// display the page
$this->display();
}