Skip to content

Core\Ldap\Dn

A DN (distinguished name), the path of an entry in a directory, such as CN=Ann Lee,OU=Staff,DC=example,DC=test. Build one from an attribute and a value. The value can be user input, because each special character in it is escaped.

Returned by

You get a Core\Ldap\Dn from these methods:

Members

8 members.

MemberSignature
parseparse(string $text): Core\Ldap\Dn
ofof(string $attribute, string $value): Core\Ldap\Dn
childchild(string $attribute, string $value): Core\Ldap\Dn
parentparent(): ?Core\Ldap\Dn
rdnAttributerdnAttribute(): string
rdnValuerdnValue(): tainted string
isWithinisWithin(Core\Ldap\Dn $other): bool
toStringtoString(): tainted string