/** * 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); }
/** * 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; }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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; }