コード例 #1
0
 /**
  * Get a specific LDAP entry, identified by its DN
  *
  * @param string $dn Record identifier
  *
  * @return array Hash array
  */
 function get_entry($dn)
 {
     return parent::get_entry($dn, $this->attributes);
 }
コード例 #2
0
 /**
  * Get a specific LDAP entry, identified by its DN
  *
  * @param string $dn Record identifier
  * @param array  $attributes Attributes to return
  *
  * @return array Hash array
  */
 function get_entry($dn, $attributes = array())
 {
     return parent::get_entry($dn, !empty($attributes) ? $attributes : $this->attributes);
 }