Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
External storage implemmentation using serialized files
string $_dir = ''Directory name to store data files in
Details__construct(
string $dir
=
null
)
:
Constructs storage object and creates storage directory
DetailsaddAssociation(
string $handle, string $macFunc, string $secret, string $expires
)
:
boolStores information about session identified by $handle
DetailsaddSite(
string $id, string $site, mixed $trusted
)
:
boolStores information about trusted/untrusted site for given user
DetailsaddUser(
string $id, string $password
)
:
boolRegister new user with given $id and $password Returns true in case of success and false if user with given $id already exists
DetailscheckUser(
string $id, string $password
)
:
boolVerify if user with given $id exists and has specified $password
DetailsdelAssociation(
string $handle
)
:
boolRemoves information about association identified by $handle
DetailsdelUser(
string $id
)
:
boolRemoves information abou specified user
DetailsgetAssociation(
string $handle, string $macFunc, string $secret, string $expires
)
:
boolGets information about association identified by $handle Returns true if given association found and not expired and false otherwise
DetailsgetTrustedSites(
string $id
)
:
arrayReturns array of all trusted/untrusted sites for given user identified by $id
DetailshasUser(
string $id
)
:
boolReturns true if user with given $id exists and false otherwise
Details