Static Public Member Functions |
static | create_functions () |
| Creates function for VoIP views.
|
static | create_views () |
| Creates views for VoIP synchronization to SIP server.
|
Protected Attributes |
| $belongs_to = array('user') |
Member Function Documentation
Voip_sip_Model::check_pre_requirements |
( |
| ) |
|
Checks pre requirements for VoIP.
- Author
- Ondřej Fibich
- Returns
- boolean
Voip_sip_Model::count_all_records |
( |
| ) |
|
Function counts all records.
- Returns
- integer
Voip_sip_Model::cout_record_by_member |
( |
|
$member_id | ) |
|
Function gets record by member.
- Parameters
-
- Returns
- integer
static Voip_sip_Model::create_functions |
( |
| ) |
|
|
static |
static Voip_sip_Model::create_views |
( |
| ) |
|
|
static |
Creates views for VoIP synchronization to SIP server.
- Author
- Ondřej Fibich
Voip_sip_Model::get_all_record_by_member_limited |
( |
|
$member_id | ) |
|
Function gets all records by member.
- Parameters
-
- Returns
- Mysql_Result
Voip_sip_Model::get_all_records |
( |
|
$limit_from = 0 , |
|
|
|
$limit_results = 20 , |
|
|
|
$order_by = 'name' , |
|
|
|
$order_by_direction = 'asc' |
|
) |
| |
Function gets all records.
- Parameters
-
integer | $limit_from | |
integer | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
- Returns
- Mysql_Result
Voip_sip_Model::get_all_records_limited |
( |
|
$limit_from = 0 , |
|
|
|
$limit_results = 20 , |
|
|
|
$order_by = 'user_id' , |
|
|
|
$order_by_direction = 'asc' |
|
) |
| |
Function gets all records limited.
- Parameters
-
integer | $limit_from | |
integer | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
- Returns
- Mysql_Result
Voip_sip_Model::get_record_by_user |
( |
|
$user_id | ) |
|
Function gets one record by user.
- Parameters
-
- Returns
- Mysql_Result
Voip_sip_Model::get_record_by_user_limited |
( |
|
$user_id | ) |
|
Function gets one record by user.
- Parameters
-
- Returns
- Mysql_Result
Voip_sip_Model::get_record_limited |
( |
|
$id | ) |
|
Function gets one record.
- Parameters
-
- Returns
- Mysql_Result
Voip_sip_Model::get_voip_sip_by_name |
( |
|
$name | ) |
|
Gets VoIP SIP with name.
- Parameters
-
- Returns
- Mysql_Result
The documentation for this class was generated from the following file: