/** * Initialize the action * * @return void */ public function init() { parent::init(); // $this->view->breadcrumbs = array( // $this->view->getTranslation('Login') => $this->getFrontController()->getBaseUrl() . '/admin/auth/login' // ); }
/** * Called from __construct() as final step of object instantiation. * * @return void */ public function init() { parent::init(); $module = new Digitalus_Module(); $this->moduleData = $module->getData(); $this->properties = Digitalus_Module_Property::load('mod_login'); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); //the selected admin menu item $this->view->adminSection = 'navigation'; $this->view->breadcrumbs = array($this->view->getTranslation('Navigation') => $this->baseUrl . '/admin/navigation'); }
public function init() { parent::init(); // Load model trong bat ky module nao $this->loadModel('SiteMenus'); $this->_objSiteMenus = new SiteMenus(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); // $this->view->breadcrumbs = array( // $this->view->getTranslation('Site Settings') => $this->getFrontController()->getBaseUrl() . '/admin/site' // ); }
public function init() { parent::init(); // Load helper $this->loadHelper(); // Load model trong bat ky module nao $this->_objCats = $this->loadModel('Virtuemart_Models_Categories'); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $config = Zend_Registry::get('config'); $this->_pathToMedia = APPLICATION_PATH . '/../' . $config->filepath->media; $this->_mediaFolder = $config->filepath->media; $this->view->mediaFolder = $config->filepath->media; $this->view->breadcrumbs = array($this->view->getTranslation('Media') => $this->baseUrl . '/admin/media'); }
/** * Called from __construct() as final step of object instantiation. * * @return void */ public function init() { parent::init(); //get the module data $module = new Digitalus_Module(); $this->moduleData = $module->getData(); $this->properties = Digitalus_Module_Property::load('mod_forward'); $this->_redirect($this->moduleData->pagePath); }
/** * Render partial action * * @throws Digitalus_Exception * @return void */ public function renderPartialAction() { parent::init(); $partial = $this->_request->getParam('partial'); if ($partial != null) { $this->view->partialKey = Digitalus_Toolbox_String::stripUnderscores($partial); $data = new stdClass(); $data->get = $this->_request->getParams(); $data->post = $_POST; $this->view->data = $data; } else { throw new Digitalus_Exception($this->view->getTranslation('Invalid placeholder passed')); } }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objMenus = new Model_Menus(); }
public function init() { parent::init(); // Disable Layout $this->_helper->layout()->disableLayout(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objGroups = new Model_Groups(); }
public function init() { parent::init(); $module = new Digitalus_Module(); $this->moduleData = $module->getData(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objParams = new Model_Parameters(); }
public function init() { parent::init(); $this->view->breadcrumbs = array($this->view->getTranslation('Modules') => $this->baseUrl . '/admin/module', $this->view->getTranslation('Blog') => $this->baseUrl . '/mod_blog'); $this->view->toolbarLinks['Add to my bookmarks'] = $this->baseUrl . '/admin/index/bookmark/url/mod_blog'; }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->view->breadcrumbs = array($this->view->getTranslation('Design') => $this->baseUrl . '/admin/design'); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objUser = new Model_User(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objETemps = new Model_EmailTemplates(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->view->breadcrumbs = array($this->view->getTranslation('Modules') => $this->baseUrl . '/admin/module'); }
public function init() { parent::init(); $this->view->breadcrumbs = array($this->view->GetTranslation('Modules') => $this->baseUrl . '/admin/module', $this->view->GetTranslation('Contact') => $this->baseUrl . '/mod_contact'); $this->view->toolbarLinks[$this->view->GetTranslation('Add to my bookmarks')] = $this->baseUrl . '/admin/index/bookmark' . '/url/mod_contact' . '/label/' . $this->view->GetTranslation('Module') . ':' . $this->view->GetTranslation('Contact'); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objElements = new Model_Elements(); }
public function init() { parent::init(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->view->adminSection = 'support'; }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objContents = new Model_Contents(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->_objAdminPanels = new Model_AdminPanels(); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->view->breadcrumbs = array($this->view->getTranslation('Site Settings') => $this->baseUrl . '/admin/site'); }
/** * Initialize the action * * @return void */ public function init() { parent::init(); $this->userModel = new Model_User(); $this->currentUser = $this->userModel->getCurrentUser(); }
public function init() { parent::init(); // Load model trong bat ky module nao $this->_objManus = $this->loadModel('Virtuemart_Models_Manufacturers'); }
public function init() { parent::init(); // Load model trong bat ky module nao $this->_objTaxRates = $this->loadModel('Virtuemart_Models_TaxRates'); }