Public Member Functions |
| __construct ($id=false) |
| Contruct of app, shutdown action logs by default.
|
| get_all_login_logs ($sql_offset=0, $limit_results=500, $order_by= 'last_time', $order_by_direction= 'DESC', $filter_sql= '') |
| Returns last login of all user.
|
| count_all_login_logs ($filter_sql) |
| Returns count of last login of all user.
|
| get_all_login_logs_by_user ($user_id=0, $sql_offset=0, $limit_results=500, $order_by= 'time', $order_by_direction= 'desc', $filter_sql= '') |
| Gets all logins by user.
|
| count_all_login_logs_by_user ($user_id=0, $filter_sql= '') |
| Returns count of logins by user.
|
Protected Attributes |
| $belongs_to = array('user') |
Constructor & Destructor Documentation
Login_log_Model::__construct |
( |
|
$id = false | ) |
|
Contruct of app, shutdown action logs by default.
- Parameters
-
Member Function Documentation
Login_log_Model::count_all_login_logs |
( |
|
$filter_sql | ) |
|
Returns count of last login of all user.
- Parameters
-
- Author
- Michal Kliment
- Returns
- integer
Login_log_Model::count_all_login_logs_by_user |
( |
|
$user_id = 0 , |
|
|
|
$filter_sql = '' |
|
) |
| |
Returns count of logins by user.
- Author
- Michal Kliment
- Parameters
-
integer | $user_id | |
string | $filter_sql | |
- Returns
- integer
Login_log_Model::get_all_login_logs |
( |
|
$sql_offset = 0 , |
|
|
|
$limit_results = 500 , |
|
|
|
$order_by = 'last_time' , |
|
|
|
$order_by_direction = 'DESC' , |
|
|
|
$filter_sql = '' |
|
) |
| |
Returns last login of all user.
- Author
- Michal Kliment
- Parameters
-
int | $sql_offset | |
int | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
string | $filter_sql | |
- Returns
- Mysql_Result
Login_log_Model::get_all_login_logs_by_user |
( |
|
$user_id = 0 , |
|
|
|
$sql_offset = 0 , |
|
|
|
$limit_results = 500 , |
|
|
|
$order_by = 'time' , |
|
|
|
$order_by_direction = 'desc' , |
|
|
|
$filter_sql = '' |
|
) |
| |
Gets all logins by user.
- Author
- Michal Kliment
- Parameters
-
integer | $user_id | |
int | $sql_offset | |
int | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
string | $filter_sql | |
- Returns
- Mysql_Result
The documentation for this class was generated from the following file: