/** * Reload node attributes from LDAP. * * This is an online method. * * @param Ldap $ldap * @return Node Provides a fluid interface * @throws Exception\LdapException */ public function reload(Ldap $ldap = null) { if ($ldap !== null) { $this->attachLdap($ldap); } $ldap = $this->getLdap(); parent::reload($ldap); return $this; }
/** * Reload node attributes from LDAP. * * This is an online method. * * @param \Zend\LDAP\LDAP $ldap * @return \Zend\LDAP\Node\Node Provides a fluid interface * @throws \Zend\LDAP\Exception */ public function reload(LDAP\LDAP $ldap = null) { if ($ldap !== null) { $this->attachLDAP($ldap); } $ldap = $this->getLDAP(); parent::reload($ldap); return $this; }