source: trunk/contactcenter/setup/external_catalogs.inc.php @ 285

Revision 285, 1.3 KB checked in by brunocosta, 16 years ago (diff)

Correção dos problemas gerados no commit anterior, a funcionalidade citada no ticket #199 foram temporariamente desativadas.

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 *                                      ),
26 *                                      2       =>      array(
27 *                                              ...
28 *                                      ),
29 *      );
30 *
31 * external_mappings' format:
32 *
33 *      $external_mappings      =       array(
34 *                                                      1       =>      array(
35 *                                                              'contact.id_contact'                            =>      array('dn'),
36 *                                                              'contact.photo'                                         =>      array('jpegPhoto'),
37 *                                                              'contact.prefixes.prefix'                       =>      false, //used when you don't have an attribute or don't want to use one
38 *                                                              ...
39 *                                                      ),
40 *                                                      2       =>      array(
41 *                                                              ...
42 *                                                      ),
43 *              );
44 *
45 */
46?>
Note: See TracBrowser for help on using the repository browser.