PHP Class AmyUser, aprilchild

Built on the technologies developed and maintained by April-Child.com Copyright (c)2007,2008 Petr Krontorad, April-Child.com. Author: Petr Krontorad, [email protected] All rights reserved. ------------------------------------------------------------------------------------------ User and session management library ------------------------------------------------------------------------------------------
Inheritance: extends AmyObject
Afficher le fichier Open project: aprilchild/aprilchild Class Usage Examples

Méthodes publiques

Свойство Type Description
$credentials
$service
$userId
$username

Méthodes publiques

Méthode Description
authorize ( $username, $password = null, $service = 'amy' )
create_session ( )
is_authorized ( )
is_default ( )
load ( $userId )
load_from_session ( $session )
make_default ( )
register ( $username, $password = null, $service = 'amy', $credentials = [] )
save ( )

Private Methods

Méthode Description
copy_dir ( $src_path, $target_path )
load_user_info ( $row = [] )
save_user_to_session ( $session )
setup_support_dir ( )

Method Details

authorize() public méthode

public authorize ( $username, $password = null, $service = 'amy' )

create_session() public méthode

public create_session ( )

is_authorized() public méthode

public is_authorized ( )

is_default() public méthode

public is_default ( )

load() public méthode

public load ( $userId )

load_from_session() public méthode

public load_from_session ( $session )

make_default() public méthode

public make_default ( )

register() public méthode

public register ( $username, $password = null, $service = 'amy', $credentials = [] )

save() public méthode

public save ( )

Property Details

$credentials public_oe property

public $credentials

$service public_oe property

public $service

$userId public_oe property

public $userId

$username public_oe property

public $username