PHP Class Pommo_User, poMMo

..)
ファイルを表示 Open project: soonick/poMMo Class Usage Examples

Public Properties

Property Type Description
$pages
$records

Public Methods

Method Description
__construct ( ) * __construct
delete ( $users ) * delete Deletes users from DB
getList ( $data ) * getList Returns array with users in DB
login ( $username, $password ) * login Checks if a user-password combination exists in the database
save ( $username, $password ) * save Saves a new user in the database

Method Details

__construct() public method

* __construct
public __construct ( )

delete() public method

* delete Deletes users from DB
public delete ( $users )

getList() public method

* getList Returns array with users in DB
public getList ( $data )
$data = array( 'limit' => 'Records per page, 'order' => 'ASC or DESC', 'page' => 'Page to return )

login() public method

* login Checks if a user-password combination exists in the database
public login ( $username, $password )
$username
$password

save() public method

* save Saves a new user in the database
public save ( $username, $password )
$username
$password

Property Details

$pages public_oe property

public $pages

$records public_oe property

public $records