ZenMagick 0.9.8


org.zenmagick.mvc.ZMSacsHandler
\mvc\sacs\ZMSacsHandler.php at line 37

Interface ZMSacsHandler

ZMSacsHandler

public interface ZMSacsHandler

Interface for Sacs handler.

If a handler is indifferent to a given request, the convention is to return null in order to allow the next configured handler to evaluate the request.

The result of the first handler to return either true or false will be taken as the final result by the ZMSacsManager.

Author:
DerManoMann
Version:
$Id: ZMSacsHandler.php 2556 2009-10-31 07:38:13Z dermanomann $

Method Summary
mixed

evaluate(ZMRequest request, mixed credentials, ZMSacsManager manager)

Evaluate the given credentials in the context of the request.

string

getName()

Get the unique handler name.

Method Detail

\mvc\sacs\ZMSacsHandler.php at line 55

evaluate

public mixed evaluate(ZMRequest request, mixed credentials, ZMSacsManager manager)

Evaluate the given credentials in the context of the request.

Parameters:
request - The current request.
credentials - The user credentials.
manager - The delegating manager.
Returns:
Either null to indicate that the given request is not configured for this handler, or either true for valid credentials or false for invalid credentials.

\mvc\sacs\ZMSacsHandler.php at line 44

getName

public string getName()

Get the unique handler name.

Returns:
The handler name.

ZenMagick 0.9.8