Back to SiteApplication class

Method doExecute

protected void
doExecute
()
Method to run the Web application routines.
Returns
  • void
Since
  • 3.2

Method doExecute - Source code

/**
 * Method to run the Web application routines.
 *
 * @return  void
 *
 * @since   3.2
 */
protected function doExecute()
{
    // Initialise the application
    $this->initialiseApp();
    // Mark afterInitialise in the profiler.
    JDEBUG ? $this->profiler->mark('afterInitialise') : null;
    // Route the application
    $this->route();
    // Mark afterRoute in the profiler.
    JDEBUG ? $this->profiler->mark('afterRoute') : null;
    /*
     * Check if the user is required to reset their password
     *
     * Before $this->route(); "option" and "view" can't be safely read using:
     * $this->input->getCmd('option'); or $this->input->getCmd('view');
     * ex: due of the sef urls
     */
    $this->checkUserRequireReset('com_users', 'profile', 'edit', 'com_users/profile.save,com_users/profile.apply,com_users/user.logout');
    // Dispatch the application
    $this->dispatch();
    // Mark afterDispatch in the profiler.
    JDEBUG ? $this->profiler->mark('afterDispatch') : null;
}