/** * Execute the extra. * * @return void */ public function execute() { // get reset key $key = $this->URL->getParameter(0); // do we have an reset key? if (isset($key)) { // load parent parent::execute(); // load template $this->loadTemplate(); // get profile id $profileId = FrontendProfilesModel::getIdBySetting('forgot_password_key', $key); // have id? if ($profileId !== 0) { // load $this->loadForm(); // validate $this->validateForm(); } elseif ($this->URL->getParameter('saved') != 'true') { $this->redirect(FrontendNavigation::getURL(404)); } // parse $this->parse(); } else { $this->redirect(FrontendNavigation::getURL(404)); } }
/** * Execute the extra */ public function execute() { parent::execute(); $this->loadTemplate(); $this->getData(); $this->parse(); }
/** * Execute the extra */ public function execute() { parent::execute(); $this->tpl->assign('hideContentTitle', true); $this->loadTemplate(); $this->getData(); $this->parse(); }
/** * Execute the extra */ public function execute() { parent::execute(); // overwrite the template path $this->setOverwrite(true); $this->setTemplatePath(FRONTEND_MODULES_PATH . '/' . $this->getModule() . '/layout/templates/detail.tpl'); $this->loadData(); $this->parse(); }
/** * Execute the extra * * @return void */ public function execute() { // call the parent parent::execute(); // load template $this->loadTemplate(); // parse $this->parse(); }
/** * Execute the extra * * @return void */ public function execute() { // call the parent parent::execute(); // load the data $this->getData(); // parse $this->parse(); }
/** * Execute the extra */ public function execute() { parent::execute(); // hide contenTitle, in the template the title is wrapped with an inverse-option $this->tpl->assign('hideContentTitle', true); $this->loadTemplate(); $this->getData(); $this->updateStatistics(); $this->loadForm(); $this->validateForm(); $this->parse(); }
/** * Execute the extra * * @return void */ public function execute() { // call the parent parent::execute(); // hide contenTitle, in the template the title is wrapped with an inverse-option $this->tpl->assign('hideContentTitle', true); // load template $this->loadTemplate(); // load the data $this->getData(); // parse $this->parse(); }
/** * Execute. */ public function execute() { parent::execute(); // profile not logged in if (!FrontendProfilesAuthentication::isLoggedIn()) { $this->loadTemplate(); $this->loadForm(); $this->validateForm(); $this->parse(); } else { $this->redirect(SITE_URL); } }
/** * Execute the extra. */ public function execute() { // only for guests if (!FrontendProfilesAuthentication::isLoggedIn()) { parent::execute(); $this->loadTemplate(); $this->loadForm(); $this->validateForm(); $this->parse(); } else { $this->redirect(FrontendNavigation::getURLForBlock('profiles', 'settings')); } }
/** * Execute the extra. */ public function execute() { // profile logged in if (FrontendProfilesAuthentication::isLoggedIn()) { parent::execute(); $this->getData(); $this->loadTemplate(); $this->loadForm(); $this->validateForm(); $this->parse(); } else { $this->redirect(FrontendNavigation::getURL(404)); } }
/** * Execute the extra * * @return void */ public function execute() { // call the parent parent::execute(); // hide contenTitle, in the template the title is wrapped with an inverse-option $this->tpl->assign('hideContentTitle', true); // load the data $this->getData(); // overwrite the template path $this->setOverwrite(true); $this->setTemplatePath(FRONTEND_MODULES_PATH . '/' . $this->getModule() . '/layout/templates/detail.tpl'); // parse $this->parse(); }
/** * Execute the extra. * * @return void */ public function execute() { // no url parameter if (FrontendProfilesAuthentication::isLoggedIn()) { // call the parent parent::execute(); /* * You could use this as some kind of dashboard where you could show an activity stream, some statistics, ... */ // load template $this->loadTemplate(); } else { $this->redirect(FrontendNavigation::getURL(404)); } }
/** * Execute the extra. */ public function execute() { // only logged in profiles can seer their dashboard if (FrontendProfilesAuthentication::isLoggedIn()) { // call the parent parent::execute(); /* * You could use this as some kind of dashboard where you can show an activity * stream, some statistics, ... */ $this->loadTemplate(); } else { $this->redirect(FrontendNavigation::getURL(404)); } }
/** * Execute the extra * * @return void */ public function execute() { // profile not logged in if (!FrontendProfilesAuthentication::isLoggedIn()) { // load parent parent::execute(); // load template $this->loadTemplate(); // load $this->loadForm(); // validate $this->validateForm(); // parse $this->parse(); } else { $this->redirect(FrontendNavigation::getURL(404)); } }
/** * Execute the extra. * * @return void */ public function execute() { // load parent parent::execute(); // load template $this->loadTemplate(); // profile not logged in if (!FrontendProfilesAuthentication::isLoggedIn()) { // load $this->loadForm(); // validate $this->validateForm(); // parse $this->parse(); } elseif ($this->URL->getParameter('sent') == true) { $this->parse(); } else { $this->redirect(SITE_URL); } }
/** * Execute the extra */ public function execute() { parent::execute(); $this->loadTemplate(); $this->loadForm(); $this->validateForm(); $this->display(); $this->saveStatistics(); }
/** * Get the assigned template. * * @return array */ public function getTemplate() { return $this->object->getTemplate(); }
/** * Execute the extra * * @return void */ public function execute() { // call the parent parent::execute(); // load template $this->loadTemplate(); // load form $this->loadForm(); // validate form $this->validateForm(); // display $this->display(); // save statistics $this->saveStatistics(); }