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
ファイルを表示 Open project: aprilchild/aprilchild Class Usage Examples

Public Properties

Property Type Description
$credentials
$service
$userId
$username

Public Methods

Method 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

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

Method Details

authorize() public method

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

create_session() public method

public create_session ( )

is_authorized() public method

public is_authorized ( )

is_default() public method

public is_default ( )

load() public method

public load ( $userId )

load_from_session() public method

public load_from_session ( $session )

make_default() public method

public make_default ( )

register() public method

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

save() public method

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