src/Adldap.php
public function getBaseDn()
    {
        /*
         * If the base DN is empty, we'll assume the dev
         * wants it set automatically
         */
        if (empty($this->baseDn)) {
            $this->setBaseDn($this->findBaseDn());
        }

        return $this->baseDn;
    }
public function getBaseDn()
    {
        /*
         * If the base DN is empty, we'll assume the dev
         * wants it set automatically
         */
        if (empty($this->baseDn)) {
            $this->setBaseDn($this->findBaseDn());
        }

        return $this->baseDn;
    }
public function getBaseDn ( ) { /*
         * If the base DN is empty, we'll assume the dev
         * wants it set automatically
         */ if ( empty ( $ this -> baseDn ) ) { $ this -> setBaseDn ( $ this -> findBaseDn ( ) ) ; } return $ this -> baseDn ; }
Get the current base DN.

@return string
Get the current base DN .