Public Member Functions | |
index () | |
Index prints about message. | |
redirected_ranges () | |
Prints to output all subnets which have enabled redirection. | |
allowed_ip_addresses () | |
Prints all allowed IP addresses. | |
unallowed_ip_addresses ($message_type=NULL) | |
Prints all unallowed ip addresses, otherwise same as previous method. | |
self_cancelable_ip_addresses () | |
Prints list of IP addresses which are redirected by a message that is self canceble. | |
local_subnets () | |
Prints all local subnets. | |
voip_callback ($user=null, $pass=null, $number=null) | |
Function is used for VoIP callback. | |
authorized_keys ($device_id=NULL) | |
Generates authorized keys to device. | |
key ($user_id=NULL) | |
Prints all user's keys. | |
members_qos_ceil_rate () | |
Prints members QoS's data in columns. | |
ip_addresses_qos_ceil_rate () | |
Prints ip addresses of members with guaranteed speed. | |
monitoring_hosts ($priority=NULL) | |
Prints all IP addresses of hosts to monitored. | |
monitoring_states () | |
Sets states of monitored hosts. | |
qos_prometheus () | |
Configuration for Prometheus QoS utility. | |
Public Member Functions inherited from Controller | |
__construct () | |
Contruct of controller, creates singleton or return it. | |
is_user_in_group ($aro_group_id, $aro_id) | |
Checks if user is in ARO group. | |
acl_check_view ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) | |
Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may view all $axo_value object in $axo_section else return false. | |
acl_check_edit ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) | |
Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may edit all $axo_value object in $axo_section else return false. | |
acl_check_new ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) | |
Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may add all $axo_value object in $axo_section else return false. | |
acl_check_delete ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) | |
Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may delete all $axo_value object in $axo_section else return false. | |
build_menu () | |
Build menu. | |
url () | |
Return URL for controller and method. | |
redirect ($uri=NULL, $id=NULL, $glue= '/') | |
Redirects to uri according to attribute noredirect. |
Public Attributes | |
const | MEMBERS_QOS_PARENT = 1 |
const | MEMBERS_QOS_ORDINARY = 2 |
const | MEMBERS_QOS_ACTIVE = 3 |
const | MEMBERS_QOS_HIGH_PRIORITY = 4 |
const | MEMBERS_QOS_MEMBERS = 5 |
const | MEMBERS_QOS_PRIORITY_NORMAL = 1 |
const | MEMBERS_QOS_PRIORITY_HIGH = 0 |
const | MEMBERS_QOS_PROTOCOL_ALL = 'all' |
Public Attributes inherited from Controller | |
const | ICON_ERROR = 1 |
const | ICON_GOOD = 2 |
const | ICON_HELP = 3 |
const | ICON_INFO = 4 |
const | ICON_WARNING = 5 |
$arr | |
$settings = NULL | |
$popup = 0 | |
$dialog = 0 | |
$noredirect = FALSE | |
$user_has_voip = 0 | |
$ip_address_span = '' | |
$unread_user_mails = 0 | |
$count_of_unclosed_logged_errors = 0 | |
$devices_down_count = 0 | |
$user_favourites_pages = NULL | |
$axo_doc_access = FALSE |
Protected Member Functions | |
is_preprocesor_enabled () | |
Preprocesor not useful here. |
Additional Inherited Members | |
Static Public Member Functions inherited from Controller | |
static & | instance () |
Singleton instance of Controller. | |
static | error ($message_type, $content=NULL) |
Function shows error of given message number. | |
static | warning ($message_type, $content=NULL) |
Function shows warning of given message number. | |
Protected Attributes inherited from Controller | |
$member_id | |
$user_id | |
$member_account_id = 1 | |
$session |
Web_interface_Controller::allowed_ip_addresses | ( | ) |
Prints all allowed IP addresses.
These are registered IP addresses, which have no redirection set. Unknown IP addresses (not present in system) and IP addresses with a redirection set are not exported.
Web_interface_Controller::authorized_keys | ( | $device_id = NULL | ) |
Generates authorized keys to device.
integer | $device_id |
Web_interface_Controller::ip_addresses_qos_ceil_rate | ( | ) |
Prints ip addresses of members with guaranteed speed.
|
protected |
Web_interface_Controller::key | ( | $user_id = NULL | ) |
Prints all user's keys.
integer | $user_id |
Web_interface_Controller::local_subnets | ( | ) |
Prints all local subnets.
Web_interface_Controller::members_qos_ceil_rate | ( | ) |
Prints members QoS's data in columns.
Web_interface_Controller::monitoring_hosts | ( | $priority = NULL | ) |
Prints all IP addresses of hosts to monitored.
type | $priority |
Web_interface_Controller::monitoring_states | ( | ) |
Sets states of monitored hosts.
Web_interface_Controller::qos_prometheus | ( | ) |
Configuration for Prometheus QoS utility.
This configuration does not includes handlind of upload values of speed, it takes just download.
Web_interface_Controller::redirected_ranges | ( | ) |
Prints to output all subnets which have enabled redirection.
Any IP address belonging to these subnet ranges can be redirected.
Web_interface_Controller::self_cancelable_ip_addresses | ( | ) |
Prints list of IP addresses which are redirected by a message that is self canceble.
Web_interface_Controller::unallowed_ip_addresses | ( | $message_type = NULL | ) |
Prints all unallowed ip addresses, otherwise same as previous method.
int | $message_type | message type to filter only IP redirected with the specified type or NULL for all types |
Web_interface_Controller::voip_callback | ( | $user = null , |
|
$pass = null , |
|||
$number = null |
|||
) |
Function is used for VoIP callback.
integer | $user | |
string | $pass | |
integer | $number |