public function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('catch');
     $this->function_msg = 'Import info from files';
 }
 function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('workorder');
     $this->function_msg = 'reset workorder cached budget';
 }
 function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('location');
     $this->function_msg = 'Synkroniser_med_boei';
     $this->bocommon = CreateObject('property.bocommon');
     $this->db = $this->bocommon->new_db();
     $this->join = $this->db->join;
     $this->like = $this->db->like;
     $this->left_join = " LEFT JOIN ";
     if (isset($this->db->adodb) && $this->db->adodb) {
         $this->db_boei = CreateObject('phpgwapi.db', false, $GLOBALS['external_db']['boei']['db_type']);
         $this->db_boei->Host = $GLOBALS['external_db']['boei']['db_host'];
         $this->db_boei->Type = $GLOBALS['external_db']['boei']['db_type'];
         $this->db_boei->Database = $GLOBALS['external_db']['boei']['db_name'];
         $this->db_boei->User = $GLOBALS['external_db']['boei']['db_user'];
         $this->db_boei->Password = $GLOBALS['external_db']['boei']['db_pass'];
         $this->db_boei->Halt_On_Error = 'yes';
         $this->db_boei->connect();
     } else {
         $this->db_boei = CreateObject('property.db_mssql');
         $this->db_boei->Host = $GLOBALS['external_db']['boei']['db_host'];
         $this->db_boei->Type = $GLOBALS['external_db']['boei']['db_type'];
         $this->db_boei->Database = $GLOBALS['external_db']['boei']['db_name'];
         $this->db_boei->User = $GLOBALS['external_db']['boei']['db_user'];
         $this->db_boei->Password = $GLOBALS['external_db']['boei']['db_pass'];
         $this->db_boei->Halt_On_Error = 'yes';
     }
     $this->db_boei2 = clone $this->db_boei;
     $this->db2 = clone $this->db;
 }
 public function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('location');
     $this->function_msg = 'Oppdater antall leieobjekter for tv-anlegg';
 }
 public function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('location');
     $this->function_msg = lang('Update the not active category for locations');
     $this->soadmin_location = CreateObject('property.soadmin_location');
 }
 function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('Async service');
     $this->function_msg = 'Forward email as SMS';
     $this->bocommon = CreateObject('property.bocommon');
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('Async service');
     $this->function_msg = 'Update all installed apps of phpgw';
     $this->bocommon = CreateObject('property.bocommon');
 }
 public function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('location');
     $this->function_msg = 'update googlemap';
     $this->bocommon = CreateObject('property.bocommon');
     $this->db2 = clone $this->db;
 }
 function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('ticket');
     $this->function_msg = 'Importer rapport fra Agresso for oppdatering av meldinger';
     $this->sotts = CreateObject('property.sotts');
     $this->config = CreateObject('admin.soconfig', $GLOBALS['phpgw']->locations->get_id('property', '.invoice'));
     $this->send = CreateObject('phpgwapi.send');
     $this->historylog = CreateObject('property.historylog', 'tts');
 }
 public function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('workorder');
     $this->function_msg = 'Manuell oppdatering av status';
     $this->bocommon = CreateObject('property.bocommon');
     $this->db = clone $GLOBALS['phpgw']->db;
     $this->date = 1220245200;
     // unix timestamp 1. Sept 2008
     die('er denne konfigurert?');
 }
 function __construct()
 {
     parent::__construct();
     $this->function_name = get_class($this);
     $this->sub_location = lang('invoice');
     $this->function_msg = 'Importer faktura fra Agresso';
     $this->soXport = CreateObject('property.soXport');
     $this->invoice = CreateObject('property.soinvoice');
     $this->responsible = CreateObject('property.soresponsible');
     $this->bocommon = CreateObject('property.bocommon');
     $this->dateformat = $this->db->date_format();
     $this->datetimeformat = $this->db->datetime_format();
     $this->config = CreateObject('admin.soconfig', $GLOBALS['phpgw']->locations->get_id('property', '.invoice'));
     $this->send = CreateObject('phpgwapi.send');
     include PHPGW_SERVER_ROOT . "/property/inc/export/{$GLOBALS['phpgw_info']['user']['domain']}/Agresso_X114";
     $this->export = new export_conv();
     $now = time() + (int) $GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset'] * 3600;
     $now_hour = date('G', $now);
     $now_day = date('N', $now);
     if ($now_hour < 6 || $now_hour > 17 || $now_day > 5) {
         $this->skip_email = true;
     }
 }