\Dewdrop\Auth\PageLogin

Generic login page used by Dewdrop's built-in auth module.

Summary

Methods
Properties
Constants
__construct()
init()
renderLayout()
respond()
No public properties found
No constants found
No protected methods found
$app
$auth
$request
$view
N/A
findToken()
No private properties found
N/A

Properties

$app

$app : \Silex\Application

Silex application

Type

\Silex\Application

$request

$request : \Symfony\Component\HttpFoundation\Request

Request object

Type

\Symfony\Component\HttpFoundation\Request

Methods

__construct()

__construct(\Dewdrop\Auth  $auth, \Silex\Application  $app, \Symfony\Component\HttpFoundation\Request  $request, \Dewdrop\View\View  $view = null) 

Constructor

Parameters

\Dewdrop\Auth $auth
\Silex\Application $app
\Symfony\Component\HttpFoundation\Request $request
\Dewdrop\View\View $view

init()

init() : void

Initializations

renderLayout()

renderLayout(string  $content) : string

Renders the given content within the layout

Parameters

string $content

Returns

string

respond()

respond() : string

Provides a string response to the request

Returns

string

findToken()

findToken(string  $token) : \Dewdrop\Db\Row|null

Look in the DB for a password change token matching the current request.

Parameters

string $token

Returns

\Dewdrop\Db\Row|null