public function __construct($account_id = null, $account_type = null) { $this->ds = $GLOBALS['phpgw']->common->ldapConnect(); if ($this->ds) { $this->connected = true; } $this->user_context = $GLOBALS['phpgw_info']['server']['ldap_context']; $this->group_context = $GLOBALS['phpgw_info']['server']['ldap_group_context']; parent::__construct($account_id, $account_type); }
/** * Constructor * * @param integer $account_id Account id defaults to current account id * @param string $account_type Account type 'u': account; 'g' : group; defaults to current account type * * @return void */ public function __construct($account_id = null, $account_type = null) { parent::__construct($account_id, $account_type); }