Pluf_HTTP_Response_RedirectToLogin Class Reference

Inheritance diagram for Pluf_HTTP_Response_RedirectToLogin:

Pluf_HTTP_Response

List of all members.

Public Member Functions

 __construct ($request, $loginurl=null)


Detailed Description

Can be used as a response to return when a user must be logged to access a page.

Constructor & Destructor Documentation

Pluf_HTTP_Response_RedirectToLogin::__construct ( request,
loginurl = null 
)

The $request object is used to know what the post login redirect url should be.

If the action url of the login page is not set, it will try to get the url from the login view from the 'login_view' configuration key.

Parameters:
Pluf_HTTP_Request The request object of the current page.
string The full url of the login page (null)

Reimplemented from Pluf_HTTP_Response.


The documentation for this class was generated from the following file:

Generated on Wed Feb 3 15:44:52 2010 for Pluf by  doxygen