コード例 #1
0
ファイル: Node.php プロジェクト: GeeH/zend-ldap
 /**
  * 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;
 }
コード例 #2
0
ファイル: Node.php プロジェクト: alab1001101/zf2
 /**
  * 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;
 }