LegacyController::preDispatch PHP Méthode

preDispatch() public méthode

public preDispatch ( )
    public function preDispatch()
    {
        if ($this->getRequest()->getParam('logout') === 'true') {
            $this->_forward('logout', 'auth', 'default', array('url' => $this->getRequest()->getPathInfo()));
        }
    }