Source for file RootDSE.php
Documentation is available at RootDSE.php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +--------------------------------------------------------------------------+
// +--------------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
// +--------------------------------------------------------------------------+
// | This library is free software; you can redistribute it and/or |
// | modify it under the terms of the GNU Lesser General Public |
// | License as published by the Free Software Foundation; either |
// | version 2.1 of the License, or (at your option) any later version. |
// | This library is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | Lesser General Public License for more details. |
// | You should have received a copy of the GNU Lesser General Public |
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +--------------------------------------------------------------------------+
// | Authors: Jan Wagner |
// +--------------------------------------------------------------------------+
// $Id: RootDSE.php,v 1.4.2.2 2005/03/01 12:27:43 jw Exp $
* Getting the rootDSE entry of a LDAP server
* @author Jan Wagner <wagner@netsols.de>
* @version $Revision: 1.4.2.2 $
* @var object Net_LDAP_Entry
* @param object Net_LDAP_Entry
* Gets the requested attribute value
* Same usuage as Net_LDAP_Entry::get_value()
* @param string Attribute name
* @param array Array of options
* @return mixed Net_LDAP_Error object or attribute values
* @see Net_LDAP_Entry::get_value()
function getValue($attr = '', $options = '')
return $this->_entry->get_value($attr, $options);
* alias function of getValue() for perl-ldap interface
* Determines if the extension is supported
* @param array Array of oids to check
return $this->_checkAttr ($oids, 'supportedExtension');
* alias function of supportedExtension() for perl-ldap interface
* @see supportedExtension()
* Determines if the version is supported
* @param array Versions to check
return $this->_checkAttr ($versions, 'supportedLDAPVersion');
* alias function of supportedVersion() for perl-ldap interface
* @see supportedVersion()
* Determines if the control is supported
* @param array Control oids to check
return $this->_checkAttr ($oids, 'supportedControl');
* alias function of supportedControl() for perl-ldap interface
* @see supportedControl()
* Determines if the sasl mechanism is supported
* @param array SASL mechanisms to check
return $this->_checkAttr ($mechlist, 'supportedSASLMechanisms');
* alias function of supportedSASLMechanism() for perl-ldap interface
* @see supportedSASLMechanism()
* Checks for existance of value in attribute
* @param array $values values to check
* @param attr $attr attribute name
function _checkAttr ($values, $attr)
if (!is_array($values)) $values = array ($values);
foreach ($values as $value) {
Documentation generated on Mon, 11 Mar 2019 14:26:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|