New (LDAP constructor): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
mNo edit summary |
||
Line 8: | Line 8: | ||
<tr><th><var>(LDAP)</var> | <tr><th><var>(LDAP)</var> | ||
</th> | </th> | ||
<td>The class name in parentheses denotes a shared method. New can also be invoked via | <td>The class name in parentheses denotes a shared method. New can also be invoked via an LDAP object variable, which may be <var>Null</var>.</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
== | <ul> | ||
<li><var>New</var> can be called with no object, with an explicit class name, or with an object variable, even if that object is <var>Null</var>: | |||
<p class="code">%ldap = new | |||
%ldap = %(ldap):new | |||
%ldap = %ldap:new | |||
</p> | |||
</ul> | |||
==See also== | ==See also== | ||
{{Template:LDAP:New footer}} | {{Template:LDAP:New footer}} |
Revision as of 15:36, 15 July 2011
Create a new LDAP object (LDAP class)
Syntax
%ldap = [%(LDAP):]New
Syntax terms
%outLDAP | A declared LDAP object to contain the new LDAP object instance. |
---|---|
(LDAP) | The class name in parentheses denotes a shared method. New can also be invoked via an LDAP object variable, which may be Null. |
Usage notes
- New can be called with no object, with an explicit class name, or with an object variable, even if that object is Null:
%ldap = new %ldap = %(ldap):new %ldap = %ldap:new