Ldap\Connection: Rename method getDN() to getDn()

This commit is contained in:
Johannes Meyer 2015-06-23 15:16:53 +02:00
parent 56cb4c28c4
commit 3f5cd4b670
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ class Connection implements Selectable
return $this->port; return $this->port;
} }
public function getDN() public function getDn()
{ {
return $this->root_dn; return $this->root_dn;
} }

View File

@ -156,7 +156,7 @@ class Query extends SimpleQuery
{ {
$result = $this->fetchAll(); $result = $this->fetchAll();
$sorted = array(); $sorted = array();
$quotedDn = preg_quote($this->ds->getDN(), '/'); $quotedDn = preg_quote($this->ds->getDn(), '/');
foreach ($result as $key => & $item) { foreach ($result as $key => & $item) {
$new_key = LdapUtils::implodeDN( $new_key = LdapUtils::implodeDN(
array_reverse( array_reverse(

View File

@ -215,7 +215,7 @@ class Root
*/ */
public function getDN() public function getDN()
{ {
return $this->connection->getDN(); return $this->connection->getDn();
} }
/** /**