프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$pages | |||
$records |
메소드 | 설명 | |
---|---|---|
__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 |
public getList ( $data ) | ||
$data | = array( 'limit' => 'Records per page, 'order' => 'ASC or DESC', 'page' => 'Page to return ) |
public login ( $username, $password ) | ||
$username | ||
$password |
public save ( $username, $password ) | ||
$username | ||
$password |