Example #1
0
 /**
  * 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');
 }
Example #4
0
 public function init()
 {
     parent::init();
     // Load model trong bat ky module nao
     $this->loadModel('SiteMenus');
     $this->_objSiteMenus = new SiteMenus();
 }
Example #5
0
 /**
  * Initialize the action
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     //        $this->view->breadcrumbs = array(
     //           $this->view->getTranslation('Site Settings') => $this->getFrontController()->getBaseUrl() . '/admin/site'
     //        );
 }
Example #6
0
 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);
 }
Example #9
0
 /**
  * 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'));
     }
 }
Example #10
0
 /**
  * Initialize the action
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->_objMenus = new Model_Menus();
 }
Example #11
0
 public function init()
 {
     parent::init();
     // Disable Layout
     $this->_helper->layout()->disableLayout();
 }
Example #12
0
 /**
  * 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();
 }
Example #14
0
 /**
  * Initialize the action
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->_objParams = new Model_Parameters();
 }
Example #15
0
 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');
 }
Example #17
0
 /**
  * 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');
 }
Example #20
0
 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();
 }
Example #22
0
 public function init()
 {
     parent::init();
 }
 /**
  * Initialize the action
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->view->adminSection = 'support';
 }
Example #24
0
 /**
  * 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();
 }
Example #26
0
 /**
  * Initialize the action
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->view->breadcrumbs = array($this->view->getTranslation('Site Settings') => $this->baseUrl . '/admin/site');
 }
Example #27
0
 /**
  * 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');
 }
Example #29
0
 public function init()
 {
     parent::init();
     // Load model trong bat ky module nao
     $this->_objTaxRates = $this->loadModel('Virtuemart_Models_TaxRates');
 }