source: sandbox/2.3-MailArchiver/contactcenter/setup/external_catalogs.inc.php @ 6779

Revision 6779, 1.4 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1<?php
2/*
3 * Created on 20/08/2007 Por Bruno costa
4 *
5 *      Arquivo de configuração de catálogos externos
6 *
7 */
8
9/*
10 * This file is comprised of two arrays describing the external catalogs ($external_srcs) and their attribute mappings
11 * ($external_mappings). The mapping between an external catalog and his attribute mappings are made with the array indices, i. e.
12 * a catalog at external_srcs with indice = 1 use the mapping with indice = 1 at external_mapping.
13 *
14 * external_srcs' format:
15 *
16 *      $external_srcs  =       array(
17 *                                      1       =>      array(
18 *                                              'name'          =>      'Catalog's name',
19 *                                              'host'          =>      'catalog's hostname',
20 *                                              'dn'            =>      'catalog's base dn',
21 *                                              'acc'           =>      'catalog's bind dn',
22 *                                              'pw'            =>      'bind dn's password',
23 *                                              'obj'           =>      'objectClass that will be used in searches',
24 *                                              'branch'        =>      strtolower('attribute used as branches in the catalog tree'),
25                                                'quicksearch    =>      'ExpressoMail's search',
26                                                'max_results'   =>      'Ldap's search limit',
27 *                                      ),
28 *                                      2       =>      array(
29 *                                              ...
30 *                                      ),
31 *      );
32 *
33 * external_mappings' format:
34 *
35 *      $external_mappings      =       array(
36 *                                                      1       =>      array(
37 *                                                              'contact.id_contact'                            =>      array('dn'),
38 *                                                              'contact.photo'                                         =>      array('jpegPhoto'),
39 *                                                              'contact.prefixes.prefix'                       =>      false, //used when you don't have an attribute or don't want to use one
40 *                                                              ...
41 *                                                      ),
42 *                                                      2       =>      array(
43 *                                                              ...
44 *                                                      ),
45 *              );
46 *
47 */
48
49?>
Note: See TracBrowser for help on using the repository browser.