<?php

#
# XiVO Web-Interface
# Copyright (C) 2006-2014  Avencall
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

$array = array();

$array['accessfeatures'] = array();
$array['accessfeatures']['table'] = 'accessfeatures';
$array['accessfeatures']['primary'] = array('id' => '');

$array['agentfeatures'] = array();
$array['agentfeatures']['table'] = 'agentfeatures';
$array['agentfeatures']['primary'] = array('id' => '');

$array['agentglobalparams'] = array();
$array['agentglobalparams']['table'] = 'agentglobalparams';
$array['agentglobalparams']['primary'] = array('id' => '');

$array['agentgroup'] = array();
$array['agentgroup']['table'] = 'agentgroup';
$array['agentgroup']['primary'] = array('id' => '');

$array['agentqueueskill'] = array();
$array['agentqueueskill']['table'] = 'agentqueueskill';
$array['agentqueueskill']['primary'] = array('agentid' => '', 'skillid' => '');

$array['attachment'] = array();
$array['attachment']['table'] = 'attachment';
$array['attachment']['primary'] = array('id' => '');

$array['autoprov'] = array();
$array['autoprov']['table'] = 'phone';
$array['autoprov']['primary'] = array('macaddr' => '');

$array['callerid'] = array();
$array['callerid']['table'] = 'callerid';
$array['callerid']['primary'] = array('type' => '','typeval' => '');

$array['callfilter'] = array();
$array['callfilter']['table'] = 'callfilter';
$array['callfilter']['primary'] = array('id' => '');

$array['callfiltermember'] = array();
$array['callfiltermember']['table'] = 'callfiltermember';
$array['callfiltermember']['primary'] = array('id' => '');

$array['cel'] = array();
$array['cel']['table'] = 'cel';
$array['cel']['primary'] = array('id' => '');

$array['context'] = array();
$array['context']['table'] = 'context';
$array['context']['primary'] = array('name' => '');

$array['contextinclude'] = array();
$array['contextinclude']['table'] = 'contextinclude';
$array['contextinclude']['primary'] = array('context' => '','include' => '');

$array['contextmember'] = array();
$array['contextmember']['table'] = 'contextmember';
$array['contextmember']['primary'] = array('context' => '','type' => '','typeval' => '','varname' => '');

$array['contextnumbers'] = array();
$array['contextnumbers']['table'] = 'contextnumbers';
$array['contextnumbers']['primary'] = array('context' => '','type' => '','numberbeg' => '','numberend' => '');

$array['contexttype'] = array();
$array['contexttype']['table'] = 'contexttype';
$array['contexttype']['primary'] = array('id' => '');

$array['cti_preference'] = array();
$array['cti_preference']['table'] = 'cti_preference';
$array['cti_preference']['primary'] = array('id' => '');

$array['cti_profile'] = array();
$array['cti_profile']['table'] = 'cti_profile';
$array['cti_profile']['primary'] = array('id' => '');

$array['cti_profile_preference'] = array();
$array['cti_profile_preference']['table'] = 'cti_profile_preference';
$array['cti_profile_preference']['primary'] = array('profile_id' => '','preference_id' => '');

$array['cti_profile_service'] = array();
$array['cti_profile_service']['table'] = 'cti_profile_service';
$array['cti_profile_service']['primary'] = array('profile_id' => '','service_id' => '');

$array['cti_profile_xlet'] = array();
$array['cti_profile_xlet']['table'] = 'cti_profile_xlet';
$array['cti_profile_xlet']['primary'] = array('profile_id' => '','xlet_id' => '');

$array['cti_service'] = array();
$array['cti_service']['table'] = 'cti_service';
$array['cti_service']['primary'] = array('id' => '');

$array['cti_xlet'] = array();
$array['cti_xlet']['table'] = 'cti_xlet';
$array['cti_xlet']['primary'] = array('id' => '');

$array['cti_xlet_layout'] = array();
$array['cti_xlet_layout']['table'] = 'cti_xlet_layout';
$array['cti_xlet_layout']['primary'] = array('id' => '');

$array['cticontexts'] = array();
$array['cticontexts']['table'] = 'cticontexts';
$array['cticontexts']['primary'] = array('id' => '');

$array['ctidirectories'] = array();
$array['ctidirectories']['table'] = 'ctidirectories';
$array['ctidirectories']['primary'] = array('id' => '');

$array['ctidirectoryfields'] = array();
$array['ctidirectoryfields']['table'] = 'ctidirectoryfields';
$array['ctidirectoryfields']['primary'] = array('dir_id' => '', 'fieldname' => '');

$array['ctidisplays'] = array();
$array['ctidisplays']['table'] = 'ctidisplays';
$array['ctidisplays']['primary'] = array('id' => '');

$array['ctimain'] = array();
$array['ctimain']['table'] = 'ctimain';
$array['ctimain']['primary'] = array('id' => '');

$array['ctiphonehints'] = array();
$array['ctiphonehints']['table'] = 'ctiphonehints';
$array['ctiphonehints']['primary'] = array('id' => '');

$array['ctiphonehintsgroup'] = array();
$array['ctiphonehintsgroup']['table'] = 'ctiphonehintsgroup';
$array['ctiphonehintsgroup']['primary'] = array('id' => '');

$array['ctipresences'] = array();
$array['ctipresences']['table'] = 'ctipresences';
$array['ctipresences']['primary'] = array('id' => '');

$array['ctistatus'] = array();
$array['ctistatus']['table'] = 'ctistatus';
$array['ctistatus']['primary'] = array('id' => '');

$array['ctireversedirectories'] = array();
$array['ctireversedirectories']['table'] = 'ctireversedirectories';
$array['ctireversedirectories']['primary'] = array('id' => '');

$array['ctisheetevents'] = array();
$array['ctisheetevents']['table'] = 'ctisheetevents';
$array['ctisheetevents']['primary'] = array('id' => '');

$array['ctisheetactions'] = array();
$array['ctisheetactions']['table'] = 'ctisheetactions';
$array['ctisheetactions']['primary'] = array('id' => '');

$array['dialaction'] = array();
$array['dialaction']['table'] = 'dialaction';
$array['dialaction']['primary'] = array('event' => '','category' => '','categoryval' => '');

$array['dialpattern'] = array();
$array['dialpattern']['table'] = 'dialpattern';
$array['dialpattern']['primary'] = array('id' => '');

$array['extensions'] = array();
$array['extensions']['table'] = 'extensions';
$array['extensions']['primary'] = array('id' => '');

$array['features'] = array();
$array['features']['table'] = 'features';
$array['func_key']['primary'] = array('id' => '');

$array['func_key'] = array();
$array['func_key']['table'] = 'func_key';
$array['func_key']['primary'] = array('id' => '');

$array['func_key_type'] = array();
$array['func_key_type']['table'] = 'func_key_type';
$array['func_key_type']['primary'] = array('id' => '');

$array['func_key_destination_type'] = array();
$array['func_key_destination_type']['table'] = 'func_key_destination_type';
$array['func_key_destination_type']['primary'] = array('id' => '');

$array['func_key_mapping'] = array();
$array['func_key_mapping']['table'] = 'func_key_mapping';
$array['func_key_mapping']['primary'] = array('template_id' => '', 'func_key_id' => '');

$array['func_key_template'] = array();
$array['func_key_template']['table'] = 'func_key_template';
$array['func_key_template']['primary'] = array('id' => '');

$array['func_key_dest_user'] = array();
$array['func_key_dest_user']['table'] = 'func_key_dest_user';
$array['func_key_dest_user']['primary'] = array('func_key_id' => '', 'user_id' => '', 'destination_type_id' => '');

$array['func_key_dest_group'] = array();
$array['func_key_dest_group']['table'] = 'func_key_dest_group';
$array['func_key_dest_group']['primary'] = array('func_key_id' => '', 'group_id' => '', 'destination_type_id' => '');

$array['func_key_dest_queue'] = array();
$array['func_key_dest_queue']['table'] = 'func_key_dest_queue';
$array['func_key_dest_queue']['primary'] = array('func_key_id' => '', 'queue_id' => '', 'destination_type_id' => '');

$array['func_key_dest_conference'] = array();
$array['func_key_dest_conference']['table'] = 'func_key_dest_conference';
$array['func_key_dest_conference']['primary'] = array('func_key_id' => '', 'conference_id' => '', 'destination_type_id' => '');

$array['func_key_dest_service'] = array();
$array['func_key_dest_service']['table'] = 'func_key_dest_service';
$array['func_key_dest_service']['primary'] = array('func_key_id' => '', 'user_id' => '', 'destination_type_id' => '');

$array['func_key_dest_forward'] = array();
$array['func_key_dest_forward']['table'] = 'func_key_dest_forward';
$array['func_key_dest_forward']['primary'] = array('func_key_id' => '', 'extension_id' => '', 'destination_type_id' => '');

$array['func_key_dest_park_position'] = array();
$array['func_key_dest_park_position']['table'] = 'func_key_dest_park_position';
$array['func_key_dest_park_position']['primary'] = array('func_key_id' => '', 'destination_type_id' => '');

$array['func_key_dest_features'] = array();
$array['func_key_dest_features']['table'] = 'func_key_dest_features';
$array['func_key_dest_features']['primary'] = array('func_key_id' => '', 'features_id' => '', 'destination_type_id' => '');

$array['func_key_dest_paging'] = array();
$array['func_key_dest_paging']['table'] = 'func_key_dest_paging';
$array['func_key_dest_paging']['primary'] = array('func_key_id' => '', 'paging_id' => '', 'destination_type_id' => '');

$array['func_key_dest_custom'] = array();
$array['func_key_dest_custom']['table'] = 'func_key_dest_custom';
$array['func_key_dest_custom']['primary'] = array('func_key_id' => '', 'exten' => '', 'destination_type_id' => '');

$array['func_key_dest_agent'] = array();
$array['func_key_dest_agent']['table'] = 'func_key_dest_agent';
$array['func_key_dest_agent']['primary'] = array('func_key_id' => '', 'agent_id' => '', 'extension_id' => '', 'destination_type_id' => '');

$array['func_key_dest_bsfilter'] = array();
$array['func_key_dest_bsfilter']['table'] = 'func_key_dest_bsfilter';
$array['func_key_dest_bsfilter']['primary'] = array('func_key_id' => '', 'filtermember_id' => '', 'destination_type_id' => '');

$array['general'] = array();
$array['general']['table'] = 'general';
$array['general']['primary'] = array('id' => '');

$array['groupfeatures'] = array();
$array['groupfeatures']['table'] = 'groupfeatures';
$array['groupfeatures']['primary'] = array('id' => '');

$array['iaxcallnumberlimits'] = array();
$array['iaxcallnumberlimits']['table'] = 'iaxcallnumberlimits';
$array['iaxcallnumberlimits']['primary'] = array('id' => '');

$array['incall'] = array();
$array['incall']['table'] = 'incall';
$array['incall']['primary'] = array('id' => '');

$array['linefeatures'] = array();
$array['linefeatures']['table'] = 'linefeatures';
$array['linefeatures']['primary'] = array('id' => '');

$array['ldapfilter'] = array();
$array['ldapfilter']['table'] = 'ldapfilter';
$array['ldapfilter']['primary'] = array('id' => '');

$array['meetmefeatures'] = array();
$array['meetmefeatures']['table'] = 'meetmefeatures';
$array['meetmefeatures']['primary'] = array('id' => '');

$array['meetmeguest'] = array();
$array['meetmeguest']['table'] = 'meetmeguest';
$array['meetmeguest']['primary'] = array('id' => '');

$array['musiconhold'] = array();
$array['musiconhold']['table'] = 'musiconhold';
$array['musiconhold']['primary'] = array('id' => '');

$array['outcall'] = array();
$array['outcall']['table'] = 'outcall';
$array['outcall']['primary'] = array('id' => '');

$array['outcalltrunk'] = array();
$array['outcalltrunk']['table'] = 'outcalltrunk';
$array['outcalltrunk']['primary'] = array('outcallid' => '','trunkfeaturesid' => '');

$array['paging'] = array();
$array['paging']['table'] = 'paging';
$array['paging']['primary'] = array('id' => '');

$array['paginguser'] = array();
$array['paginguser']['table'] = 'paginguser';
$array['paginguser']['primary'] = array('pagingid' => '','userfeaturesid' => '');

$array['phonebook'] = array();
$array['phonebook']['table'] = 'phonebook';
$array['phonebook']['primary'] = array('id' => '');

$array['phonebookaddress'] = array();
$array['phonebookaddress']['table'] = 'phonebookaddress';
$array['phonebookaddress']['primary'] = array('id' => '');

$array['phonebooknumber'] = array();
$array['phonebooknumber']['table'] = 'phonebooknumber';
$array['phonebooknumber']['primary'] = array('id' => '');

$array['phonefunckey'] = array();
$array['phonefunckey']['table'] = 'phonefunckey';
$array['phonefunckey']['primary'] = array('iduserfeatures' => '','fknum' => '');

$array['pickup'] = array();
$array['pickup']['table'] = 'pickup';
$array['pickup']['primary'] = array('id' => '');

$array['pickupmember'] = array();
$array['pickupmember']['table'] = 'pickupmember';
$array['pickupmember']['primary'] = array('pickupid' => '', 'category' => '', 'membertype' => '', 'memberid' => '');

$array['queue'] = array();
$array['queue']['table'] = 'queue';
$array['queue']['primary'] = array('name' => '');

$array['queuefeatures'] = array();
$array['queuefeatures']['table'] = 'queuefeatures';
$array['queuefeatures']['primary'] = array('id' => '');

$array['queuemember'] = array();
$array['queuemember']['table'] = 'queuemember';
$array['queuemember']['primary'] = array('queue_name' => '','interface' => '');

$array['queuepenalty'] = array();
$array['queuepenalty']['table'] = 'queuepenalty';
$array['queuepenalty']['primary'] = array('id' => '');

$array['queuepenaltychange'] = array();
$array['queuepenaltychange']['table'] = 'queuepenaltychange';
$array['queuepenaltychange']['primary'] = array('queuepenalty_id' => '', 'seconds' => '');

$array['queueskill'] = array();
$array['queueskill']['table'] = 'queueskill';
$array['queueskill']['primary'] = array('id' => '');

$array['queueskillcat'] = array();
$array['queueskillcat']['table'] = 'queueskillcat';
$array['queueskillcat']['primary'] = array('id' => '');

$array['queueskillrule'] = array();
$array['queueskillrule']['table'] = 'queueskillrule';
$array['queueskillrule']['primary'] = array('id' => '');

$array['qualification'] = array();
$array['qualification']['table'] = 'qualifications';
$array['qualification']['primary'] = array('id' => '');

$array['subqualification'] = array();
$array['subqualification']['table'] = 'subqualifications';
$array['subqualification']['primary'] = array('id' => '');

$array['queuequalification'] = array();
$array['queuequalification']['table'] = 'queue_qualification';
$array['queuequalification']['primary'] = array('id' => '');

$array['rightcall'] = array();
$array['rightcall']['table'] = 'rightcall';
$array['rightcall']['primary'] = array('id' => '');

$array['rightcallexten'] = array();
$array['rightcallexten']['table'] = 'rightcallexten';
$array['rightcallexten']['primary'] = array('id' => '');

$array['rightcallmember'] = array();
$array['rightcallmember']['table'] = 'rightcallmember';
$array['rightcallmember']['primary'] = array('id' => '');

$array['sccpline'] = array();
$array['sccpline']['table'] = 'sccpline';
$array['sccpline']['primary'] = array('id' => '');

$array['sccpdevice'] = array();
$array['sccpdevice']['table'] = 'sccpdevice';
$array['sccpdevice']['primary'] = array('id' => '');

$array['sccpgeneralsettings'] = array();
$array['sccpgeneralsettings']['table'] = 'sccpgeneralsettings';
$array['sccpgeneralsettings']['primary'] = array('id' => '');

$array['schedule'] = array();
$array['schedule']['table'] = 'schedule';
$array['schedule']['primary'] = array('id' => '');

$array['schedule_path'] = array();
$array['schedule_path']['table'] = 'schedule_path';
$array['schedule_path']['primary'] = array('schedule_id' => '', 'path' => '', 'pathid' => '');

$array['schedule_time'] = array();
$array['schedule_time']['table'] = 'schedule_time';
$array['schedule_time']['primary'] = array('id' => '');

$array['sipauthentication'] = array();
$array['sipauthentication']['table'] = 'sipauthentication';
$array['sipauthentication']['primary'] = array('id' => '');

$array['stat_agent'] = array();
$array['stat_agent']['table'] = 'stat_agent';
$array['stat_agent']['primary'] = array('id' => '');

$array['stat_agent_periodic'] = array();
$array['stat_agent_periodic']['table'] = 'stat_agent_periodic';
$array['stat_agent_periodic']['primary'] = array('id' => '');

$array['stat_call_on_queue'] = array();
$array['stat_call_on_queue']['table'] = 'stat_call_on_queue';
$array['stat_call_on_queue']['primary'] = array('callid' => '', 'time' => '');

$array['stat_queue'] = array();
$array['stat_queue']['table'] = 'stat_queue';
$array['stat_queue']['primary'] = array('id' => '');

$array['stat_queue_periodic'] = array();
$array['stat_queue_periodic']['table'] = 'stat_queue_periodic';
$array['stat_queue_periodic']['primary'] = array('id' => '');

$array['staticiax'] = array();
$array['staticiax']['table'] = 'staticiax';
$array['staticiax']['primary'] = array('id' => '');

$array['staticmeetme'] = array();
$array['staticmeetme']['table'] = 'staticmeetme';
$array['staticmeetme']['primary'] = array('id' => '');

$array['staticqueue'] = array();
$array['staticqueue']['table'] = 'staticqueue';
$array['staticqueue']['primary'] = array('id' => '');

$array['staticsip'] = array();
$array['staticsip']['table'] = 'staticsip';
$array['staticsip']['primary'] = array('id' => '');

$array['staticvoicemail'] = array();
$array['staticvoicemail']['table'] = 'staticvoicemail';
$array['staticvoicemail']['primary'] = array('id' => '');

$array['trunkcustom'] = array();
$array['trunkcustom']['table'] = 'usercustom';
$array['trunkcustom']['primary'] = array('id' => '');

$array['trunkfeatures'] = array();
$array['trunkfeatures']['table'] = 'trunkfeatures';
$array['trunkfeatures']['primary'] = array('id' => '');

$array['trunkiax'] = array();
$array['trunkiax']['table'] = 'useriax';
$array['trunkiax']['primary'] = array('id' => '');

$array['trunksip'] = array();
$array['trunksip']['table'] = 'usersip';
$array['trunksip']['primary'] = array('id' => '');

$array['user_line'] = array();
$array['user_line']['table'] = 'user_line';
$array['user_line']['primary'] = array('id' => '');

$array['usercustom'] = array();
$array['usercustom']['table'] = 'usercustom';
$array['usercustom']['primary'] = array('id' => '');

$array['userfeatures'] = array();
$array['userfeatures']['table'] = 'userfeatures';
$array['userfeatures']['primary'] = array('id' => '');

$array['usersip'] = array();
$array['usersip']['table'] = 'usersip';
$array['usersip']['primary'] = array('id' => '');

$array['voicemail'] = array();
$array['voicemail']['table'] = 'voicemail';
$array['voicemail']['primary'] = array('uniqueid' => '');

?>
