Public Member Functions |
| __construct () |
| Set up time.
|
| index () |
| Redirect to index.
|
| run () |
| This function should be regularly launched by scheduler.
|
| 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 | AM_MEMBER_FEES = '03' |
| Activation Minute for member fees (long action but triggered only monthly)
|
const | AM_ENTRANCE_FEES = '05' |
| Activation Minute for entrance fees (take some time but triggered only monthly)
|
const | AM_DEVICE_FEES = '06' |
| Activation Minute for device fees (not oftenly used)
|
const | AM_BANK_STATEMENTS = '07' |
| Activation Minute for bank statements downloading (long action)
|
const | AM_CONNECTION_TEST = '09' |
| Activation Minute for connection test (daily action)
|
const | AM_FORMER_MEMBER = '09' |
| Activation Minute for former member message.
|
const | AM_INTERRUPTED_MEMBER = '09' |
| Activation Minute for interrupted member message.
|
const | AM_NOTIFICATION = '10' |
| Activation Minute for notification (long action)
|
const | AM_VTIGER_SYNC = '30' |
| Activation Minute for Vtiger synchronization - each hour (long action)
|
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 |
Additional Inherited Members |
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.
|
| is_preprocesor_enabled () |
| This methods defines whether the preprocessor of MY_Controller is loaded or not.
|
| $member_id |
| $user_id |
| $member_account_id = 1 |
| $session |
Member Function Documentation
Scheduler_Controller::run |
( |
| ) |
|
This function should be regularly launched by scheduler.
Scheduler can be bash script run by cron.
- Author
- Jiri Svitak
The documentation for this class was generated from the following file: