Example #1
0
 /**
  * Constructor.
  *
  * Constructor is protected to enforce the use of factory methods.
  *
  * @param  \Zend\LDAP\DN $dn
  * @param  array        $data
  */
 protected function __construct(LDAP\DN $dn, array $data)
 {
     parent::__construct($dn, $data, true);
 }
Example #2
0
 /**
  * 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;
 }
Example #3
0
 /**
  * Constructor.
  *
  * Constructor is protected to enforce the use of factory methods.
  *
  * @param  \Zend\Ldap\Dn $dn
  * @param  array        $data
  * @param  \Zend\Ldap\Ldap    $ldap
  */
 protected function __construct(Ldap\Dn $dn, array $data, Ldap\Ldap $ldap)
 {
     parent::__construct($dn, $data, true);
     $this->_parseSchema($dn, $ldap);
 }
Example #4
0
 /**
  * Constructor.
  *
  * Constructor is protected to enforce the use of factory methods.
  *
  * @param \Zend\Ldap\Dn $dn
  * @param array         $data
  */
 protected function __construct(Ldap\Dn $dn, array $data)
 {
     parent::__construct($dn, $data, true);
 }
Example #5
0
 /**
  * Constructor.
  *
  * Constructor is protected to enforce the use of factory methods.
  *
  * @param  \Zend\LDAP\DN $dn
  * @param  array        $data
  * @param  \Zend\LDAP\LDAP    $ldap
  */
 protected function __construct(LDAP\DN $dn, array $data, LDAP\LDAP $ldap)
 {
     parent::__construct($dn, $data, true);
     $this->_parseSchema($dn, $ldap);
 }
Example #6
0
 /**
  * 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;
 }