Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
usercard_ldapinit.php File Reference

Go to the source code of this file.

Namespaces

namespace  FDL
 

Variables

const SKIPCOLOR ''
 
const UPDTCOLOR ''
 
const STOPCOLOR ''
 
 $clean = (GetHttpVars("clean", "no") == "yes")
 
 $appl = new Application()
 
if($action->GetParam("LDAP_ENABLED","no")!="yes") $dbaccess = $appl->GetParam("FREEDOM_DB")
 
if($dbaccess=="") $ldaphost = $action->GetParam("LDAP_SERVEUR", "localhost")
 
 $ldappw = $action->GetParam("LDAP_ROOTPW")
 
 $ldapdn = $action->GetParam("LDAP_ROOTDN")
 
 $ldapr = $action->GetParam("LDAP_ROOT")
 
if($clean) $ldoc1 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "USER")
 
 $ldoc2 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "IGROUP")
 
 $ldoc = array_merge($ldoc1, $ldoc2)
 
 $reste = countDocs($ldoc)
 
 $total = $reste
 

Variable Documentation

$appl = new Application()

Definition at line 27 of file usercard_ldapinit.php.

$clean = (GetHttpVars("clean", "no") == "yes")

Definition at line 26 of file usercard_ldapinit.php.

if ($action->GetParam("LDAP_ENABLED","no")!="yes") $dbaccess = $appl->GetParam("FREEDOM_DB")

Definition at line 36 of file usercard_ldapinit.php.

$ldapdn = $action->GetParam("LDAP_ROOTDN")

Definition at line 46 of file usercard_ldapinit.php.

if ($dbaccess=="") $ldaphost = $action->GetParam("LDAP_SERVEUR", "localhost")

Definition at line 44 of file usercard_ldapinit.php.

$ldappw = $action->GetParam("LDAP_ROOTPW")

Definition at line 45 of file usercard_ldapinit.php.

$ldapr = $action->GetParam("LDAP_ROOT")

Definition at line 47 of file usercard_ldapinit.php.

$ldoc = array_merge($ldoc1, $ldoc2)

Definition at line 58 of file usercard_ldapinit.php.

if ($clean) $ldoc1 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "USER")

Definition at line 56 of file usercard_ldapinit.php.

$ldoc2 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "IGROUP")

Definition at line 57 of file usercard_ldapinit.php.

$reste = countDocs($ldoc)

Definition at line 59 of file usercard_ldapinit.php.

$total = $reste

Definition at line 60 of file usercard_ldapinit.php.

const SKIPCOLOR ''

Definition at line 22 of file usercard_ldapinit.php.

const STOPCOLOR ''

Definition at line 24 of file usercard_ldapinit.php.

const UPDTCOLOR ''

Definition at line 23 of file usercard_ldapinit.php.

← centre documentaire © anakeen - published under CC License - Dynacase