New (LDAP constructor): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
m (1 revision) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%LDAP</th><td>A declared <var>LDAP</var> object to contain the new <var>LDAP</var> object instance.</td></tr> | <tr><th>%LDAP</th><td>A declared <var>LDAP</var> object to contain the new <var>LDAP</var> object instance.</td></tr> | ||
<tr><th><var>(LDAP)</var> | <tr><th><var>[%(LDAP):]</var></th> | ||
</th> | <td>The optional class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See [[#Usage notes|"Usage notes"]], below, for more information about invoking an <var>LDAP</var> <var>Constructor</var>.</td></tr> | ||
<td>The class name in parentheses denotes a | |||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <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>: | <li>As described in [[Object variables#Using New or other Constructors|"Using New or other Constructors"]], <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 | <p class="code">%ldap = new | ||
%ldap = %( | %ldap = %(LDAP):new | ||
%ldap = %ldap:new | %ldap = %ldap:new |
Latest revision as of 20:23, 30 November 2011
Create a new LDAP object (LDAP class)
Syntax
%ldap = [%(LDAP):]New
Syntax terms
%LDAP | A declared LDAP object to contain the new LDAP object instance. |
---|---|
[%(LDAP):] | The optional class name in parentheses denotes a Constructor. See "Usage notes", below, for more information about invoking an LDAP Constructor. |
Usage notes
- As described in "Using New or other Constructors", 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