/** * Constructor. * * Constructor is protected to enforce the use of factory methods. * * @param Zend_Ldap_Dn $dn * @param array $data * @param Zend_Ldap $ldap */ protected function __construct(Zend_Ldap_Dn $dn, array $data, Zend_Ldap $ldap) { parent::__construct($dn, $data, true); $this->_parseSchema($dn, $ldap); }
/** * Reload node attributes from LDAP. * * This is an online method. * * @param Zend_Ldap $ldap * @return Zend_Ldap_Node Provides a fluid interface * @throws Zend_Ldap_Exception */ public function reload(Zend_Ldap $ldap = null) { if ($ldap !== null) { $this->attachLdap($ldap); } $ldap = $this->getLdap(); parent::reload($ldap); return $this; }
/** * Constructor. * * Constructor is protected to enforce the use of factory methods. * * @param Zend_Ldap_Dn $dn * @param array $data */ protected function __construct(Zend_Ldap_Dn $dn, array $data) { parent::__construct($dn, $data, true); }