本文整理匯總了PHP中Zend_Ldap_Node_Abstract類的典型用法代碼示例。如果您正苦於以下問題:PHP Zend_Ldap_Node_Abstract類的具體用法?PHP Zend_Ldap_Node_Abstract怎麽用?PHP Zend_Ldap_Node_Abstract使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了Zend_Ldap_Node_Abstract類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
/**
* 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);
}
示例2: reload
/**
* 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;
}
示例3: __construct
/**
* 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);
}