Public Member Functions | |
OrgInit () | |
UseLdap () | |
SetLdapParam () | |
getDNs () | |
setDNs ($ds, $tdn) | |
canUpdateLdapCard () | |
RefreshLdapCard () | |
DeleteLdapCard () | |
getLDAPDN ($rdn, $path="") | |
getMapAttributes () | |
ConvertToLdap () | |
getLDAPValue ($idattr, $index="") | |
ModifyLdapCard ($tinfoldap) | |
createLDAPDc ($ds, $n) | |
Public Member Functions inherited from DbObj | |
__construct ($dbaccess= '', $id= '', $res= '', $dbid=0) | |
Select ($id) | |
getValues () | |
affectColumn ($fields, $reset=true) | |
affect ($array, $more=false, $reset=true) | |
isAffected () | |
Complete () | |
preInsert () | |
postInsert () | |
preUpdate () | |
postUpdate () | |
preDelete () | |
postDelete () | |
preSelect ($id) | |
postSelect ($id) | |
Add ($nopost=false, $nopre=false) | |
modify ($nopost=false, $sfields="", $nopre=false) | |
delete ($nopost=false) | |
Adds (&$tcopy, $nopost=false) | |
lw ($prop) | |
CloseConnect () | |
Create ($nopost=false) | |
postInit () | |
init_dbid () | |
exec_query ($sql, $lvl=0, $prepare=false) | |
numrows () | |
fetch_array ($c, $type=PGSQL_ASSOC) | |
update () | |
setError ($moreerr= '') | |
autoUpdate () | |
savePoint ($point) | |
lockPoint ($exclusiveLock, $exclusiveLockPrefix= '') | |
setMasterLock ($useLock) | |
rollbackPoint ($point) | |
commitPoint ($point) | |
Data Fields | |
$serveur | |
$port | |
$racine | |
$rootdn | |
$rootpw | |
$useldap = false | |
$infoldap = array() | |
$cindex = false | |
$ldapmap | |
$ldapdn | |
Data Fields inherited from DbObj | |
$dbid = - 1 | |
$dbaccess = '' | |
$fields | |
$dbtable = '' | |
$id_fields | |
$criterias = array() | |
$sup_fields = array() | |
$sup_where = array() | |
$sup_tables = array() | |
$fulltextfields = array() | |
$order_by = "" | |
$isset = false | |
$msg_err = '' | |
$err_code = '' | |
$res = '' | |
$debug = false | |
$sqlcreate | |
$sqlinit | |
$log | |
Additional Inherited Members | |
Static Public Attributes inherited from DbObj | |
static | $savepoint = array() |
static | $lockpoint = array() |
static | $sqlStrict = null |
Protected Member Functions inherited from DbObj | |
tryCreate () | |
Definition at line 18 of file Class.DocLDAP.php.
canUpdateLdapCard | ( | ) |
test if the document can be set in LDAP to be defined in child families
Definition at line 129 of file Class.DocLDAP.php.
ConvertToLdap | ( | ) |
return array(card) of array of ldap values LDAP card from user document
Definition at line 213 of file Class.DocLDAP.php.
createLDAPDc | ( | $ds, | |
$n | |||
) |
created an LDAP DC object in root directory
Definition at line 367 of file Class.DocLDAP.php.
DeleteLdapCard | ( | ) |
delete LDAP cards of document
Definition at line 154 of file Class.DocLDAP.php.
getDNs | ( | ) |
get DNs created in LDAP database from this document
Definition at line 96 of file Class.DocLDAP.php.
getLDAPDN | ( | $rdn, | |
$path = "" |
|||
) |
get DN of document
Definition at line 178 of file Class.DocLDAP.php.
getLDAPValue | ( | $idattr, | |
$index = "" |
|||
) |
get ldap value
string | $idattr | ldap attribute name |
Definition at line 286 of file Class.DocLDAP.php.
getMapAttributes | ( | ) |
get Attribute mapping FREEDOM -> LDAP
Definition at line 191 of file Class.DocLDAP.php.
ModifyLdapCard | ( | $tinfoldap | ) |
modify in LDAP database information
Definition at line 301 of file Class.DocLDAP.php.
OrgInit | ( | ) |
init society organization of the tree
Definition at line 35 of file Class.DocLDAP.php.
RefreshLdapCard | ( | ) |
update or delete LDAP card
Definition at line 136 of file Class.DocLDAP.php.
setDNs | ( | $ds, | |
$tdn | |||
) |
set new DNs created in LDAP database from this document suppress old DNs card from LDAP if exists
resource | $ds | LDAP connection ressouce |
array | $tdn | array of DN new DN |
Definition at line 108 of file Class.DocLDAP.php.
SetLdapParam | ( | ) |
initialialize LDAP coordonates
Definition at line 77 of file Class.DocLDAP.php.
UseLdap | ( | ) |
Indicate if ::refreshLdapCard must be activate or not use for families which doesn't want to be inserted in LDAP
Definition at line 70 of file Class.DocLDAP.php.
$cindex = false |
Definition at line 28 of file Class.DocLDAP.php.
$infoldap = array() |
Definition at line 27 of file Class.DocLDAP.php.
$ldapdn |
Definition at line 30 of file Class.DocLDAP.php.
$ldapmap |
Definition at line 29 of file Class.DocLDAP.php.
$port |
Definition at line 22 of file Class.DocLDAP.php.
Definition at line 23 of file Class.DocLDAP.php.
$rootdn |
Definition at line 24 of file Class.DocLDAP.php.
$rootpw |
Definition at line 25 of file Class.DocLDAP.php.
$serveur |
Definition at line 21 of file Class.DocLDAP.php.
$useldap = false |
Definition at line 26 of file Class.DocLDAP.php.