public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bodocument_view');
     $this->url_prefix = 'booking.uidocument_view';
     $this->module = 'booking';
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->set_business_object();
     $this->fields = array('subject_id', 'subject_name', 'object_id', 'object_name', 'role');
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->bo = CreateObject('booking.boasync_settings');
     self::set_active_menu('booking::settings::async_settings');
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bocontactperson');
     self::set_active_menu('booking::contacts');
     $this->module = "booking";
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bodocumentation');
     $this->fields = array('category', 'description');
     $this->module = 'booking';
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.boaccount_code_set');
     self::set_active_menu('booking::settings::account_code_sets');
     $this->url_prefix = 'booking.uiaccount_code_set';
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bocompleted_reservation_export');
     $this->generated_files_bo = CreateObject('booking.bocompleted_reservation_export_file');
     self::set_active_menu('booking::invoice_center::exported_files');
     $this->url_prefix = 'booking.uicompleted_reservation_export';
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bogroup');
     $this->activity_bo = CreateObject('booking.boactivity');
     self::set_active_menu('booking::groups');
     $this->module = "booking";
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.boapplication');
     $this->resource_bo = CreateObject('booking.boresource');
     $this->system_message_bo = CreateObject('booking.bosystem_message');
     self::set_active_menu('booking::dashboard');
 }
 function __construct()
 {
     $this->bo = CreateObject('bookingfrontend.bosearch');
     parent::__construct();
     $old_top = array_pop($this->tmpl_search_path);
     array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT . '/booking/templates/base');
     array_push($this->tmpl_search_path, $old_top);
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->bo = CreateObject('booking.boresource');
     $this->activity_bo = CreateObject('booking.boactivity');
     $this->fields = array('name' => 'string', 'building_id' => 'string', 'building_name' => 'string', 'description' => 'html', 'activity_id' => 'int', 'active' => 'int', 'type' => 'string', 'sort' => 'string', 'organizations_ids' => 'string');
     self::set_active_menu('booking::resources');
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->bo = CreateObject('booking.bobuilding');
     $this->bo_booking = CreateObject('booking.bobooking');
     self::set_active_menu('booking::buildings');
     $this->fields = array('name' => 'string', 'homepage' => 'url', 'description' => 'html', 'email' => 'email', 'tilsyn_name' => 'string', 'tilsyn_email' => 'email', 'tilsyn_phone' => 'string', 'tilsyn_name2' => 'string', 'tilsyn_email2' => 'email', 'tilsyn_phone2' => 'string', 'street' => 'string', 'zip_code' => 'string', 'city' => 'string', 'district' => 'string', 'phone' => 'string', 'active' => 'int', 'location_code' => 'string', 'deactivate_application' => 'int', 'deactivate_calendar' => 'int', 'deactivate_sendmessage' => 'int', 'extra_kalendar' => 'string', 'calendar_text' => 'string');
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bocompleted_reservation');
     $this->customer_id = CreateObject('booking.customer_identifier');
     self::set_active_menu('booking::invoice_center::completed_reservations');
     $this->url_prefix = 'booking.uicompleted_reservation';
     $this->restore_export_filters();
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bosystem_message');
     $this->allocation_bo = CreateObject('booking.boallocation');
     self::set_active_menu('booking::messages');
     $this->url_prefix = 'booking.uisystem_message';
     $this->module = 'booking';
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.boresource');
     $this->building_bo = CreateObject('booking.bobuilding');
     $old_top = array_pop($this->tmpl_search_path);
     array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT . '/booking/templates/base');
     array_push($this->tmpl_search_path, $old_top);
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->set_business_object();
     //'name' is not in fields as it will always be generated from the uploaded filename
     $this->fields = array('category', 'description', 'owner_id', 'owner_name');
     $this->module = 'booking';
 }
 public function __construct()
 {
     parent::__construct();
     $this->activity_bo = CreateObject('booking.boactivity');
     $this->bo = CreateObject('booking.boorganization');
     $this->customer_id = CreateObject('booking.customer_identifier');
     self::set_active_menu('booking::organizations');
     $this->module = "booking";
     $this->fields = array('name' => 'string', 'shortname' => 'string', 'homepage' => 'url', 'phone' => 'string', 'email' => 'email', 'street' => 'string', 'zip_code' => 'string', 'city' => 'string', 'district' => 'string', 'description' => 'html', 'contacts' => 'string', 'active' => 'int', 'organization_number' => 'string', 'activity_id' => 'int', 'customer_number' => 'string', 'customer_internal' => 'int', 'show_in_portal' => 'int');
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->bo = CreateObject('booking.boseason');
     $this->resource_bo = CreateObject('booking.boresource');
     self::set_active_menu('booking::buildings::seasons');
     $this->fields = array('name', 'building_id', 'building_name', 'status', 'from_', 'to_', 'resources', 'active', 'officer_id', 'officer_name');
     $this->boundary_fields = array('wday', 'from_', 'to_');
     $this->wtemplate_alloc_fields = array('id', 'organization_id', 'wday', 'cost', 'from_', 'to_', 'resources');
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.boallocation');
     $this->organization_bo = CreateObject('booking.boorganization');
     $this->building_bo = CreateObject('booking.bobuilding');
     $this->season_bo = CreateObject('booking.boseason');
     $this->resource_bo = CreateObject('booking.boresource');
     self::set_active_menu('booking::applications::allocations');
     $this->fields = array('resources', 'cost', 'application_id', 'building_id', 'building_name', 'season_id', 'season_name', 'organization_id', 'organization_name', 'shortname', 'from_', 'to_', 'active');
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.boevent');
     $this->customer_id = CreateObject('booking.customer_identifier');
     $this->activity_bo = CreateObject('booking.boactivity');
     $this->agegroup_bo = CreateObject('booking.boagegroup');
     $this->audience_bo = CreateObject('booking.boaudience');
     $this->organization_bo = CreateObject('booking.boorganization');
     $this->resource_bo = CreateObject('booking.boresource');
     self::set_active_menu('booking::applications::events');
     $this->fields = array('activity_id', 'description', 'resources', 'cost', 'application_id', 'building_id', 'building_name', 'contact_name', 'contact_email', 'contact_phone', 'from_', 'to_', 'active', 'audience', 'reminder', 'is_public', 'sms_total', 'customer_internal');
 }
 public function __construct()
 {
     parent::__construct();
     self::process_booking_unauthorized_exceptions();
     $this->bo = CreateObject('booking.bobooking');
     $this->activity_bo = CreateObject('booking.boactivity');
     $this->agegroup_bo = CreateObject('booking.boagegroup');
     $this->audience_bo = CreateObject('booking.boaudience');
     $this->building_bo = CreateObject('booking.bobuilding');
     $this->resource_bo = CreateObject('booking.boresource');
     $this->season_bo = CreateObject('booking.boseason');
     $this->allocation_bo = CreateObject('booking.boallocation');
     $this->group_bo = CreateObject('booking.bogroup');
     self::set_active_menu('booking::applications::bookings');
     $this->fields = array('allocation_id', 'activity_id', 'resources', 'building_id', 'building_name', 'application_id', 'season_id', 'season_name', 'group_id', 'group_name', 'group_shortname', 'organization_id', 'organization_name', 'from_', 'to_', 'audience', 'active', 'cost', 'reminder', 'sms_total');
 }
 public function __construct()
 {
     parent::__construct();
     $this->set_module();
     self::process_booking_unauthorized_exceptions();
     $this->bo = CreateObject('booking.boapplication');
     $this->customer_id = CreateObject('booking.customer_identifier');
     $this->event_bo = CreateObject('booking.boevent');
     $this->activity_bo = CreateObject('booking.boactivity');
     $this->audience_bo = CreateObject('booking.boaudience');
     $this->assoc_bo = new booking_boapplication_association();
     $this->agegroup_bo = CreateObject('booking.boagegroup');
     $this->resource_bo = CreateObject('booking.boresource');
     $this->building_bo = CreateObject('booking.bobuilding');
     $this->organization_bo = CreateObject('booking.boorganization');
     $this->document_bo = CreateObject('booking.bodocument_building');
     self::set_active_menu('booking::applications');
     $this->fields = array('description', 'equipment', 'resources', 'activity_id', 'building_id', 'building_name', 'contact_name', 'contact_email', 'contact_phone', 'audience', 'active', 'accepted_documents');
 }
 public function __construct()
 {
     parent::__construct();
     self::set_active_menu('admin::bookingfrontend::metasettings');
 }
 public function __construct()
 {
     parent::__construct();
     self::set_active_menu('booking::settings::application_settings');
 }
 public function __construct()
 {
     parent::__construct();
     $this->building_bo = CreateObject('booking.bobuilding');
     self::set_active_menu('booking::reportcenter');
 }
 public function __construct()
 {
     $this->bo = CreateObject('booking.bocontactperson');
     booking_uicommon::__construct();
     $this->module = "bookingfrontend";
 }
 public function __construct()
 {
     parent::__construct();
     $this->bo = CreateObject('booking.bomassbooking');
     self::set_active_menu('booking::applications::massboooking');
 }
 public function __construct()
 {
     parent::__construct();
     self::set_active_menu('booking::settings::account_code_dimensions');
 }
 public function __construct()
 {
     parent::__construct();
     self::set_active_menu('booking::mailing');
 }
 public function add_current_identifier_info(&$entity)
 {
     $entity['customer_identifier_types'] = $this->get_valid_types_ui_values();
     if ($customer_identifier_type = $this->get_current_identifier_type($entity)) {
         $entity['customer_identifier_label'] = booking_uicommon::humanize($customer_identifier_type);
     }
     if ($customer_identifier_value = $this->get_current_identifier_value($entity)) {
         $entity['customer_identifier_value'] = $customer_identifier_value;
     }
 }