Path

ez components / documentation / api reference / latest / mvctools


eZ Components latest

MvcTools: ezcMvcRequestAuthentication

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMvcRequestAuthentication

Struct which holds the request authentication parameters. [source]

Parents

ezcBaseStruct
   |
   --ezcMvcRequestAuthentication

Member Variables

public string $identifier
Username or other authentication identifier.
public string $password
Password or other identity verification.

Method Summary

public ezcMvcRequestAuthentication __construct( [$identifier = ''], [$password = ''] )
Constructs a new ezcMvcRequestAuthentication.
public static ezcMvcRequestAuthentication __set_state( $array )
Returns a new instance of this class with the data specified by $array.

Methods

__construct

ezcMvcRequestAuthentication __construct( [string $identifier = ''], [string $password = ''] )
Constructs a new ezcMvcRequestAuthentication.

Parameters

Name Type Description
$identifier string  
$password string  

__set_state

ezcMvcRequestAuthentication __set_state( $array )
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__set_state makes this class exportable with var_export. var_export() generates code, that calls this method when it is parsed with PHP.

Parameters

Name Type Description
$array array(string=>mixed)  

Last updated: Mon, 21 Dec 2009