Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Class.DocAttrLDAP.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Mapping Attributes between LDAP & FREEDOM
8  *
9  * @author Anakeen
10  * @version $Id: Class.DocAttrLDAP.php,v 1.4 2006/04/03 14:56:26 eric Exp $
11  * @package FDL
12  */
13 /**
14  */
15 
16 include_once ("Class.DbObj.php");
17 class DocAttrLDAP extends DbObj
18 {
19  public $fields = array(
20  "famid", // family id
21  "ldapname", //
22  "ldapmap", //
23  "ldapclass",
24  "index"
25  );
26  /**
27  * identifier of the family document
28  * @public int
29  */
30  public $famid;
31  /**
32  * identifier of the LDAP attribute
33  * @public string
34  */
35  public $ldapname;
36  /**
37  * map function
38  * @public string
39  */
40  public $ldapmap;
41  /**
42  * LDAP class of attribute
43  * @public string
44  */
45  public $ldapclass;
46  /**
47  * indice to indicate the card reference in case of multi-card LDAP for one document
48  * @public character
49  */
50  public $index;
51 
52  public $id_fields = array(
53  "famid",
54  "ldapname",
55  "index"
56  );
57 
58  public $dbtable = "docattrldap";
59 
60  public $sqlcreate = "create table docattrldap (famid int not null,
61  ldapname text not null,
62  ldapmap text,
63  ldapclass text,
64  index char);
65 create index i_docattrldap on docattrldap(famid,ldapname);";
66 }
67 ?>
← centre documentaire © anakeen