Public Member Functions |
| count_all_links ($filter_sql= '') |
| Counts all links.
|
| get_all_links ($limit_from=0, $limit_results=20, $order_by= 'id', $order_by_direction= 'asc', $filter_sql= '') |
| Gets all linkss.
|
| get_roaming () |
| Returns roaming link.
|
| get_items ($link_id=NULL) |
| Returns all items (interfaces) which belong to given link.
|
| select_list_by_iface_type ($type) |
| Returns all links according to given type of iface.
|
Public Attributes |
const | MEDIUM_ROAMING = 1 |
const | MEDIUM_AIR = 2 |
const | MEDIUM_CABLE = 3 |
const | MEDIUM_SINGLE_FIBER = 4 |
const | MEDIUM_MULTI_FIBER = 5 |
const | NORM_802_11_A = 1 |
const | NORM_802_11_B = 2 |
const | NORM_802_11_G = 3 |
const | NORM_802_11_N = 4 |
const | NORM_802_11_B_G = 5 |
const | POLARIZATION_HORIZONTAL = 1 |
const | POLARIZATION_VERTICAL = 2 |
const | POLARIZATION_CIRCULAR = 3 |
const | POLARIZATION_BOTH = 4 |
const | POLARIZATION_HORIZONTAL_VERTICAL = 5 |
Protected Attributes |
| $has_many = array('ifaces') |
Member Function Documentation
Link_Model::count_all_links |
( |
|
$filter_sql = '' | ) |
|
Counts all links.
- Parameters
-
- Returns
- integer
Link_Model::get_all_links |
( |
|
$limit_from = 0 , |
|
|
|
$limit_results = 20 , |
|
|
|
$order_by = 'id' , |
|
|
|
$order_by_direction = 'asc' , |
|
|
|
$filter_sql = '' |
|
) |
| |
Gets all linkss.
- Parameters
-
integer | $limit_from | |
integer | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
array | $filter_values | |
- Returns
- Mysql_Result
Link_Model::get_items |
( |
|
$link_id = NULL | ) |
|
Returns all items (interfaces) which belong to given link.
- Author
- Michal Kliment
- Parameters
-
- Returns
- Mysql_Result
static Link_Model::get_max_ifaces_count |
( |
|
$iface_type | ) |
|
|
static |
Returns maximum number of interfaces in link.
- Author
- David Raška
- Parameters
-
- Returns
- integer
static Link_Model::get_medium_type |
( |
|
$medium_type_id | ) |
|
|
static |
Returns medium type by medium type id.
- Author
- Michal Kliment
- Parameters
-
- Returns
- string
static Link_Model::get_medium_types |
( |
| ) |
|
|
static |
Returns medium types.
- Author
- Michal Kliment
- Returns
- array
Link_Model::get_roaming |
( |
| ) |
|
Returns roaming link.
This function changes current object values.
- Author
- Michal Kliment
- Returns
- integer
static Link_Model::get_wireless_max_bitrate |
( |
|
$norm = NULL | ) |
|
|
static |
Returns max bitrate of norm.
- Author
- Michal Kliment
- Parameters
-
- Returns
- integer
static Link_Model::get_wireless_max_bitrates |
( |
| ) |
|
|
static |
Returns all max bitrates of norms.
- Author
- Michal Kliment
- Parameters
-
- Returns
- integer
static Link_Model::get_wireless_norm |
( |
|
$norm | ) |
|
|
static |
Returns norm name by given norm id.
- Author
- Michal Kliment
- Parameters
-
- Returns
- string
static Link_Model::get_wireless_norms |
( |
| ) |
|
|
static |
Returns all norm names.
- Author
- Michal Kliment
- Returns
- array
static Link_Model::get_wireless_polarization |
( |
|
$polarization | ) |
|
|
static |
Returns polarization name by given polarization id.
- Author
- Michal Kliment
- Parameters
-
- Returns
- string
static Link_Model::get_wireless_polarizations |
( |
| ) |
|
|
static |
Returns all polarization names.
- Author
- Michal Kliment
- Returns
- array
Link_Model::select_list_by_iface_type |
( |
|
$type | ) |
|
Returns all links according to given type of iface.
- Author
- Ondřej Fibich
- Parameters
-
- Returns
- array
The documentation for this class was generated from the following file: