Pluf Framework

Pluf Framework Commit Details


Date:2009-08-25 03:30:09 (15 years 8 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:616bac872d2ded921ea6fbe61cd7e4d58ed859d1
Parents: 8954ac68c0dfc23108f56245119e82a12c48bffd
Message:Added a simple redirection view.

Changes:

File differences

src/Pluf/Views.php
3535
3636
3737
38
39
40
41
42
43
44
45
46
47
48
49
3850
3951
4052
class Pluf_Views
{
    /**
     * Simple redirection view.
     *
     * @param Request Request object
     * @param array Match
     * @param string Redirection URL (not a view)
     */
    function redirectTo($request, $match, $url)
    {
        return new Pluf_HTTP_Response_Redirect($url);
    }
    /**
     * Log the user in.
     *
     * The login form is provided by the login_form.html template.

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.14468s using 13 queries.