Actions

API16

JLDAP/ construct

From Joomla! Documentation

< API16:JLDAP
Revision as of 17:39, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Constructor

[Edit Descripton]

Description:JLDAP/ construct

Syntax

__construct($configObj=null)
Parameter Name Default Value Description
$configObj null An object of configuration variables public

Defined in

libraries/joomla/client/ldap.php

Importing

jimport( 'joomla.client.ldap' );

Source Body

function __construct($configObj = null)
{
        if (is_object($configObj))
        {
                $vars = get_class_vars(get_class($this));
                foreach (array_keys($vars) as $var)
                {
                        if (substr($var, 0, 1) != '_') {
                                if ($param = $configObj->get($var)) {
                                        $this-> $var = $param;
                                }
                        }
                }
        }
}

[Edit See Also] SeeAlso:JLDAP/ construct

Examples

<CodeExamplesForm />