function __construct() { parent::__construct(); $this->db =& $GLOBALS['phpgw']->db; $custom_config = CreateObject('admin.soconfig', $GLOBALS['phpgw']->locations->get_id('property', '.ticket')); $this->config = $custom_config->config_data; $this->status_text = parent::get_status_text(); if ($this->acl_location != '.ticket') { throw new Exception("'catch_ticket_export' is intended for location = '.ticket'"); } if (!isset($this->config['catch_export']) || !$this->config['catch_export']) { $this->custom_config = $custom_config; $this->initiate_config(); } }
function __construct() { parent::__construct(); }