Controller/Plugin/Lock.php

Show: inherited
Table of Contents

\Conjoon_Controller_Plugin_Lock

Package: Conjoon\Controller\Plugin

A plugin that checks if the session of a user is currently locked.

If the session is lcoked, the current request is being denied and instead the index-action of the reception controller is being processed.

Parent(s)
\Zend_Controller_Plugin_Abstract
Author
Thorsten Suckow-Homberg  
Category
Plugins  
Uses
\Zend_Controller_Plugin_Abstract  

Methods

methodpublicdispatchLoopStartup( \Zend_Controller_Request_Abstract $request ) : void

Called before the dispatch loop gets processed.

This callback allows for proxy or filter behavior. By altering the request and resetting its dispatched flag (via {@link Zend_Controller_Request_Abstract::setDispatched() setDispatched(false)}), the current action may be skipped.

The method checks for an authenticated user.

Parameters
Name Type Description
$request \Zend_Controller_Request_Abstract
Documentation was generated by DocBlox 0.18.1.