function IndexbaseModule()
 {
     define_module();
     Lang::load(module_lang('common'));
     $this->visitor =& env('visitor');
     parent::__construct();
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     if (!check_hash_key() && $GLOBALS['action'] == 'send_mobile_verify_code') {
         showErr("非法请求!", 1);
     }
 }
Exemple #3
0
 public function __construct()
 {
     $this->_SetHandler('GraphingModule', 'Generate');
     $this->_SetMetaInformation('table_name', 'NONE');
     // Call parent constructor
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct();
     if (!check_hash_key()) {
         showErr("非法请求!", 1);
     }
 }
 public function __construct()
 {
     // __("Work Lists")
     // Add main menu notification handlers
     $this->_SetHandler('MainMenu', 'notify');
     /*
     // Form proper configuration information
     $this->_SetMetaInformation('global_config_vars', array(
     	'worklist_enabled',
     	'worklist_providers'
     ));
     $this->_SetMetaInformation('global_config', array(
     	__("Show Work Lists") =>
     	'html_form::select_widget ( '.
     	'"worklist_enabled", '.
     	'array ('.
     		__("enabled").' => 1, '.
     		__("disabled").' => 0, '.
     	' ) ) ',
     	__("Work List Providers") =>
     	'freemed::multiple_choice ( '.
     		'"SELECT phylname, phyfname, id '.
     		'FROM physician WHERE phyref=\'no\' '.
     		'ORDER BY phylname, phyfname", '.
     		'"##phylname##, ##phyfname##", '.
     		'"worklist_providers", fm_join_from_array($worklist_providers), '.
     		'false )'
     	)
     );
     */
     // Call parent constructor
     parent::__construct();
 }
Exemple #6
0
 public function __construct()
 {
     // __("CD/RW Backup")
     // Set administration handler
     $this->_SetHandler('AdminMenu', 'menu');
     // Form proper configuration information
     $this->_SetMetaInformation('global_config_vars', array('cdrw_device', 'cdrw_driver', 'cdrw_speed'));
     $this->_SetMetaInformation('global_config', array(__("CD Recorder Device") => 'html_form::select_widget("cdrw_device", ' . 'module_function ( "CDRWBackup", ' . '"device_list" ) )', __("CD Recorder Driver") => 'html_form::select_widget("cdrw_driver", ' . 'module_function ( "CDRWBackup", ' . '"driver_list" ) )', __("CD Recorder Max Speed") => 'html_form::select_widget("cdrw_speed", ' . 'array ( ' . '"1x" => "1",' . '"2x" => "2",' . '"4x" => "4",' . '"8x" => "8",' . '"12x" => "12",' . '"16x" => "16",' . '"24x" => "24",' . '"32x" => "32",' . '"40x" => "40",' . '"48x" => "48",' . '"52x" => "52"' . ') )'));
     // Call parent constructor
     parent::__construct();
 }
Exemple #7
0
 public function __construct()
 {
     // __("Updates")
     // Add main menu notification handlers
     $this->_SetHandler('MenuNotifyItems', 'menu_notify');
     $this->_SetHandler('MainMenu', 'notify');
     $this->_SetHandler('Utilities', 'menu');
     $this->_SetMetaInformation('UtilityName', __("Updates"));
     $this->_SetMetaInformation('UtilityDescription', __("Update and security feeds menu."));
     // Form proper configuration information
     $this->_SetMetaInformation('global_config_vars', array('update_user', 'update_pass'));
     $this->_SetMetaInformation('global_config', array(__("Updates Username") => 'html_form::text_widget ( "update_user" ) ', __("Updates Password") => 'html_form::password_widget ( "update_pass" ) '));
     // Call parent constructor
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct();
     $GLOBALS['tmpl']->assign("max_size", get_max_file_size());
 }
Exemple #9
0
 public function __construct()
 {
     parent::__construct(__CLASS__);
 }
Exemple #10
0
 public function __construct()
 {
     parent::__construct();
 }
Exemple #11
0
 function Admin()
 {
     parent::__construct();
     spl_autoload_register(array($this, 'autoloader'));
 }
Exemple #12
0
 public function __construct()
 {
     // call parent constructor
     parent::__construct();
 }
Exemple #13
0
 public function __construct()
 {
     // Store the rpc map in the meta information
     $this->_SetMetaInformation('rpc_field_map', $this->rpc_field_map);
     $this->_SetMetaInformation('distinct_fields', $this->distinct_fields);
     $this->_SetMetaInformation('table_name', $this->table_name);
     if (!$this->MODULE_HIDDEN) {
         $this->_SetAssociation('SupportModule');
     }
     // Call parent constructor
     parent::__construct();
 }
Exemple #14
0
 public function __construct()
 {
     // Add meta information for patient_field, if it exists
     if (isset($this->record_name)) {
         $this->_SetMetaInformation('record_name', $this->record_name);
     }
     if (isset($this->date_field)) {
         $this->_SetMetaInformation('date_field', $this->date_field);
     }
     if (isset($this->patient_field)) {
         $this->_SetMetaInformation('patient_field', $this->patient_field);
     }
     if (isset($this->table_name)) {
         $this->_SetMetaInformation('table_name', $this->table_name);
     }
     if (!empty($this->widget_hash)) {
         $this->_SetMetaInformation('widget_hash', $this->widget_hash);
     }
     if (!empty($this->rpc_field_map)) {
         $this->_SetMetaInformation('rpc_field_map', $this->rpc_field_map);
     }
     if (!$this->MODULE_HIDDEN) {
         $this->_SetHandler('EmrSummary', null);
     }
     // Call parent constructor
     parent::__construct();
 }
Exemple #15
0
 public function __construct()
 {
     parent::__construct();
     $has_pro = $GLOBALS['db']->getOne("select count(*) from " . DB_PREFIX . "licai where user_id= " . $GLOBALS['user_info']['id']);
     $GLOBALS['tmpl']->assign('has_pro', $has_pro);
 }