Ldap\Connection: Rename method getDN() to getDn()
This commit is contained in:
parent
56cb4c28c4
commit
3f5cd4b670
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -215,7 +215,7 @@ class Root
|
||||||
*/
|
*/
|
||||||
public function getDN()
|
public function getDN()
|
||||||
{
|
{
|
||||||
return $this->connection->getDN();
|
return $this->connection->getDn();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue