Adldap\Objects\DistinguishedName::get PHP Method

get() public method

Returns the complete distinguished name.
public get ( ) : string
return string
    public function get()
    {
        return $this->assemble();
    }

Usage Example

Esempio n. 1
0
 /**
  * Sets the base DN property.
  *
  * @param string $dn
  */
 public function setBaseDn($dn)
 {
     // We'll construct a new Distinguished name with
     // the DN we're given so we know it's valid.
     if (!$dn instanceof DistinguishedName) {
         $dn = new DistinguishedName($dn);
     }
     $this->baseDn = $dn->get();
 }