本文整理汇总了PHP中Mage_Adminhtml_Controller_Action::_construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Controller_Action::_construct方法的具体用法?PHP Mage_Adminhtml_Controller_Action::_construct怎么用?PHP Mage_Adminhtml_Controller_Action::_construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Controller_Action
的用法示例。
在下文中一共展示了Mage_Adminhtml_Controller_Action::_construct方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _construct
protected function _construct()
{
$this->includePhpApi();
Qualityunit_Liveagent_Helper_Data::convertOldButton();
parent::_construct();
$this->settings = new Qualityunit_Liveagent_Helper_Settings();
}
示例2: _construct
protected function _construct()
{
$this->ultility = Mage::getSingleton('solrsearch/ultility');
$this->threadEnable = Mage::getResourceModel('solrsearch/solr')->threadEnable;
$this->indexer = Mage::getResourceModel('solrsearch/indexer');
parent::_construct();
}
示例3: array
function _construct()
{
parent::_construct();
Mage::getSingleton('core/session', array('name' => 'adminhtml'));
if (Mage::app()->getRequest()->getParam('isAjax') && !Mage::getSingleton('admin/session')->isLoggedIn()) {
echo json_encode(array('ajaxExpired' => 1, 'ajaxRedirect' => $this->getUrl("thememanager/adminhtml_thememanager/index")));
die;
}
}
示例4: _construct
protected function _construct()
{
parent::_construct();
// Define module dependent translate
$this->setUsedModuleName('MageHackDay_TwoFactorAuth');
}
示例5: _construct
/**
* Enter description here...
*
*/
protected function _construct()
{
$this->setFlag('index', 'no-preDispatch', true);
return parent::_construct();
}
示例6: _construct
public function _construct()
{
parent::_construct();
$this->root_path = Mage::helper('debug')->getRootPath();
$this->directory_separator = Mage::helper('debug')->getDirectorySeparator();
}
示例7: _construct
/**
* Constructor.
* Set used module name for translations.
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setUsedModuleName("Xcom_Mapping");
$this->_publicActions = array('value');
}
示例8: _construct
/**
* Set title
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->_title($this->__('System'))->_title($this->__('Redis Management'));
}
示例9: _construct
public function _construct()
{
parent::_construct();
$this->_currentDate = date("d-m-Y", Mage::getModel('core/date')->timestamp(time()));
}
示例10: _construct
public function _construct()
{
parent::_construct();
$this->_helper = Mage::helper('logviewer');
}