FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Settings_Controller Class Reference
Inheritance diagram for Settings_Controller:
Controller

Public Member Functions

 __construct ()
 Contruct of controller sets tabs names.
 index ()
 Redirects to info.
 info ()
 info() displays various system information
 system ()
 Form to set up system variables.
 users ()
 Settings of users variables.
 finance ()
 Settings of finance variables.
 qos ()
 Settings for QoS.
 email ()
 Settings of email variables.
 approval ()
 Approval settings.
 networks ()
 Networks settings.
 voip ()
 VOIP settings.
 sms ()
 SMS settings.
 notifications ()
 Shows notification settings and enables their editing.
 logging ()
 Settings for logging.
 monitoring ()
 Settings for monitoring.
 vtiger ()
 Form to set up vtiger variables.
 valid_voip_number_interval ($input=NULL)
 Check if intervals of VoIP numbers are valid.
 valid_voip_number_exclude ($input=NULL)
 Validator.
 valid_suffix ($input=null)
 Validates suffix.
 valid_domain ($input=null)
 Validates domain.
- Public Member Functions inherited from Controller
 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.

Static Public Member Functions

static isModuleEnabled ($module)
 Test whether module is enabled.
- 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.

Static Public Attributes

static $modules

Additional Inherited Members

- 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 inherited from Controller
 is_preprocesor_enabled ()
 This methods defines whether the preprocessor of MY_Controller is loaded or not.
- Protected Attributes inherited from Controller
 $member_id
 $user_id
 $member_account_id = 1
 $session

Member Function Documentation

Settings_Controller::email ( )

Settings of email variables.

Author
Michal Kliment
Settings_Controller::finance ( )

Settings of finance variables.

Author
Ondrej Fibich
Settings_Controller::info ( )

info() displays various system information

Author
Tomas Dulik
static Settings_Controller::isModuleEnabled (   $module)
static

Test whether module is enabled.

Author
Michal Kliment
Parameters
string$module
Returns
boolean
Exceptions
Exception
Settings_Controller::logging ( )

Settings for logging.

Author
Michal Kliment
Settings_Controller::monitoring ( )

Settings for monitoring.

Author
Michal Kliment
Settings_Controller::notifications ( )

Shows notification settings and enables their editing.

Author
Jiri Svitak
Settings_Controller::system ( )

Form to set up system variables.

Author
Michal Kliment
Settings_Controller::users ( )

Settings of users variables.

Author
Michal Kliment
Settings_Controller::valid_domain (   $input = null)

Validates domain.

Parameters
object$input
Settings_Controller::valid_suffix (   $input = null)

Validates suffix.

Parameters
object$input
Settings_Controller::valid_voip_number_exclude (   $input = NULL)

Validator.

Parameters
object$input
Settings_Controller::valid_voip_number_interval (   $input = NULL)

Check if intervals of VoIP numbers are valid.

Author
Michal Kliment
Parameters
object$inputinput to validation
Settings_Controller::vtiger ( )

Form to set up vtiger variables.

Author
Jan Dubina

The documentation for this class was generated from the following file: