API17

Difference between revisions of "JLDAP::read"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLDAP::read|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLDAP::read|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JLDAP::read ($dn, $attribute=array())
+
public function read (
 +
        $dn
 +
        $attribute=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array of attributes or -1 on error
array of attributes or -1 on error
+
* '''Defined''' on line 318 of libraries/joomla/client/ldap.php
===Defined in===
 
libraries/joomla/client/ldap.php (line 318)
 
* see source code in [[jplatform:client/ldap.php#cl-318|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLDAP::read source code''' on [[jplatform:client/ldap.php#cl-310|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLDAP/11.1|JLDAP]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]]
 +
* [[JLDAP::read|Other versions of JLDAP::read]]
 +
{{SeeAlso:JLDAP::read}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLDAP::read|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLDAP::read|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLDAP/11.1|JLDAP]]
+
===User contributed notes===
* [[JLDAP::read|Other versions of this method]]
 
{{SeeAlso:JLDAP::read}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLDAP]][[Category:JLDAP::read]]</noinclude>
 
<noinclude>[[Category:JLDAP]][[Category:JLDAP::read]]</noinclude>

Revision as of 21:16, 27 April 2011

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JLDAP::read[edit]

Description[edit]

Read all or specified attributes of given dn.

Template:Description:JLDAP::read [Edit Descripton]

public function read (
        $dn
        $attribute=array
)
Parameter Type Default Description
$dn string dn The DN of the object you want to read
$attribute string array() attribute The attribute values you want to read (Optional)
  • Returns array of attributes or -1 on error
  • Defined on line 318 of libraries/joomla/client/ldap.php

See also[edit]

Template:SeeAlso:JLDAP::read [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />