~ubuntu-branches/ubuntu/trusty/ldap-account-manager/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/devel/phpdoc/classes/ddns.html

  • Committer: Package Import Robot
  • Author(s): Roland Gruber
  • Date: 2013-07-21 11:15:58 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130721111558-ex49xgcpo71fh0xg
Tags: 4.2.1-2
* Apache 2.4 support
* Fix "transition towards Apache 2.4" 
  support conf-enabled (Closes: #669824)
* Fix "[ldap-account-manager] Can't install ldap-account-manager"
  support conf-enabled (Closes: #711778)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
51
51
                                    Reports <b class="caret"></b></a><ul class="dropdown-menu">
52
52
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
53
 
                <span class="label label-info">1051</span></a></li>
 
53
                <span class="label label-info">1055</span></a></li>
54
54
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
55
55
                <ul><li>todo 
56
 
                <span class="label label-info">11</span>
 
56
                <span class="label label-info">15</span>
57
57
</li></ul></a></li>
58
58
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
59
59
                <span class="label label-info">0</span></a></li>
140
140
<li class="method public "><a href="#save_attributes" title="save_attributes :: Returns a list of modifications which have to be made to the LDAP account."><span class="description">Returns a list of modifications which have to be made to the LDAP account.</span><pre>save_attributes()</pre></a></li>
141
141
<li class="method public inherited"><a href="#supportsAdminInterface" title="supportsAdminInterface :: Specifies if this module supports the LAM admin interface."><span class="description">Specifies if this module supports the LAM admin interface.</span><pre>supportsAdminInterface()</pre></a></li>
142
142
<li class="nav-header protected">» Protected</li>
 
143
<li class="method protected inherited"><a href="#addMultiValueInputTextField" title="addMultiValueInputTextField :: Adds a text input field that may contain multiple values to the given htmlTable."><span class="description">Adds a text input field that may contain multiple values to the given htmlTable.</span><pre>addMultiValueInputTextField()</pre></a></li>
143
144
<li class="method protected inherited"><a href="#addSimpleInputTextField" title="addSimpleInputTextField :: Adds a simple text input field to the given htmlTable."><span class="description">Adds a simple text input field to the given htmlTable.</span><pre>addSimpleInputTextField()</pre></a></li>
144
145
<li class="method protected inherited"><a href="#addSimplePDFField" title="addSimplePDFField :: Adds a simple PDF entry to the given array."><span class="description">Adds a simple PDF entry to the given array.</span><pre>addSimplePDFField()</pre></a></li>
 
146
<li class="method protected inherited"><a href="#addSimpleSelfServiceTextField" title="addSimpleSelfServiceTextField :: Adds a simple text input field for the self service."><span class="description">Adds a simple text input field for the self service.</span><pre>addSimpleSelfServiceTextField()</pre></a></li>
 
147
<li class="method protected inherited"><a href="#checkSimpleSelfServiceTextField" title="checkSimpleSelfServiceTextField :: Checks the input value of a self service text field."><span class="description">Checks the input value of a self service text field.</span><pre>checkSimpleSelfServiceTextField()</pre></a></li>
145
148
<li class="method protected inherited"><a href="#getAccountContainer" title="getAccountContainer :: Returns the {@link accountContainer} object."><span class="description">Returns the {@link accountContainer} object.</span><pre>getAccountContainer()</pre></a></li>
146
149
<li class="method protected inherited"><a href="#isBooleanConfigOptionSet" title="isBooleanConfigOptionSet :: Returns if the given configuration option is set."><span class="description">Returns if the given configuration option is set.</span><pre>isBooleanConfigOptionSet()</pre></a></li>
 
150
<li class="method protected inherited"><a href="#processMultiValueInputTextField" title="processMultiValueInputTextField :: Validates a multi-value text field."><span class="description">Validates a multi-value text field.</span><pre>processMultiValueInputTextField()</pre></a></li>
147
151
<li class="nav-header private">» Private</li>
148
152
<li class="method private "><a href="#addFixIPs" title="addFixIPs :: Returns if fixed IPs are added to DDNS."><span class="description">Returns if fixed IPs are added to DDNS.</span><pre>addFixIPs()</pre></a></li>
149
153
<li class="method private "><a href="#check_if_ddns_is_enable" title="check_if_ddns_is_enable :: This function check if ddns is enable."><span class="description">This function check if ddns is enable.</span><pre>check_if_ddns_is_enable()</pre></a></li>
1755
1759
<code>boolean</code>support admin interface</div>
1756
1760
</div></div>
1757
1761
</div>
 
1762
<a name="addMultiValueInputTextField" id="addMultiValueInputTextField"></a><div class="element clickable method protected addMultiValueInputTextField" data-toggle="collapse" data-target=".addMultiValueInputTextField .collapse">
 
1763
<h2>Adds a text input field that may contain multiple values to the given htmlTable.</h2>
 
1764
<pre>addMultiValueInputTextField(<a href="../classes/htmlTable.html">\htmlTable</a> $container, String $attrName, String $label, boolean $required, integer $length) </pre>
 
1765
<div class="labels"><span class="label">Inherited</span></div>
 
1766
<div class="row collapse"><div class="detail-description">
 
1767
<p class="long_description"><p>The field name will be the same as the attribute name plus a counting number (e.g. street_0).
 
1768
The last field will be followed by a button to add a new value. This is named add_{attribute name} (e.g. add_street).
 
1769
There must be a help entry with the attribute name as ID.
 
1770
A new line will also be added after this entry so multiple calls will show the fields one below the other.</p></p>
 
1771
<table class="table table-bordered"><tr>
 
1772
<th>inherited_from</th>
 
1773
<td>\baseModule::addMultiValueInputTextField()</td>
 
1774
</tr></table>
 
1775
<h3>Parameters</h3>
 
1776
<div class="subelement argument">
 
1777
<h4>$container</h4>
 
1778
<code><a href="../classes/htmlTable.html">\htmlTable</a></code><p>parent container</p></div>
 
1779
<div class="subelement argument">
 
1780
<h4>$attrName</h4>
 
1781
<code>String</code><p>attribute name</p></div>
 
1782
<div class="subelement argument">
 
1783
<h4>$label</h4>
 
1784
<code>String</code><p>label name</p></div>
 
1785
<div class="subelement argument">
 
1786
<h4>$required</h4>
 
1787
<code>boolean</code><p>this is a required field (default false)</p>
 
1788
</div>
 
1789
<div class="subelement argument">
 
1790
<h4>$length</h4>
 
1791
<code>integer</code><p>field length</p></div>
 
1792
</div></div>
 
1793
</div>
1758
1794
<a name="addSimpleInputTextField" id="addSimpleInputTextField"></a><div class="element clickable method protected addSimpleInputTextField" data-toggle="collapse" data-target=".addSimpleInputTextField .collapse">
1759
1795
<h2>Adds a simple text input field to the given htmlTable.</h2>
1760
 
<pre>addSimpleInputTextField(<a href="../classes/htmlTable.html">\htmlTable</a> $container, String $attrName, String $label, boolean $required, integer $length) </pre>
 
1796
<pre>addSimpleInputTextField(<a href="../classes/htmlTable.html">\htmlTable</a> $container, String $attrName, String $label, boolean $required, integer $length, boolean $isTextArea) </pre>
1761
1797
<div class="labels"><span class="label">Inherited</span></div>
1762
1798
<div class="row collapse"><div class="detail-description">
1763
1799
<p class="long_description"><p>The field name will be the same as the attribute name. There must also be a help entry with the attribute name as ID.
1783
1819
<div class="subelement argument">
1784
1820
<h4>$length</h4>
1785
1821
<code>integer</code><p>field length</p></div>
 
1822
<div class="subelement argument">
 
1823
<h4>$isTextArea</h4>
 
1824
<code>boolean</code><p>show as text area (default false)</p>
 
1825
</div>
1786
1826
</div></div>
1787
1827
</div>
1788
1828
<a name="addSimplePDFField" id="addSimplePDFField"></a><div class="element clickable method protected addSimplePDFField" data-toggle="collapse" data-target=".addSimplePDFField .collapse">
1812
1852
</div>
1813
1853
<div class="subelement argument">
1814
1854
<h4>$delimiter</h4>
1815
 
<code>String</code><p>delimiter if multiple attribute values exist</p></div>
 
1855
<code>String</code><p>delimiter if multiple attribute values exist (default: ", ")</p>
 
1856
</div>
 
1857
</div></div>
 
1858
</div>
 
1859
<a name="addSimpleSelfServiceTextField" id="addSimpleSelfServiceTextField"></a><div class="element clickable method protected addSimpleSelfServiceTextField" data-toggle="collapse" data-target=".addSimpleSelfServiceTextField .collapse">
 
1860
<h2>Adds a simple text input field for the self service.</h2>
 
1861
<pre>addSimpleSelfServiceTextField(array $container, String $name, String $label, array $fields, array $attributes, array $readOnlyFields, boolean $required, boolean $isTextArea) </pre>
 
1862
<div class="labels"><span class="label">Inherited</span></div>
 
1863
<div class="row collapse"><div class="detail-description">
 
1864
<p class="long_description"><p>The field name will be the same as the class name plus "_" plus attribute name (e.g. posixAccount_cn).</p></p>
 
1865
<table class="table table-bordered"><tr>
 
1866
<th>inherited_from</th>
 
1867
<td>\baseModule::addSimpleSelfServiceTextField()</td>
 
1868
</tr></table>
 
1869
<h3>Parameters</h3>
 
1870
<div class="subelement argument">
 
1871
<h4>$container</h4>
 
1872
<code>array</code><p>array that is used as return value for getSelfServiceOptions()</p>
 
1873
</div>
 
1874
<div class="subelement argument">
 
1875
<h4>$name</h4>
 
1876
<code>String</code><p>attribute name (== field name)</p>
 
1877
</div>
 
1878
<div class="subelement argument">
 
1879
<h4>$label</h4>
 
1880
<code>String</code><p>label to display in front of input field</p></div>
 
1881
<div class="subelement argument">
 
1882
<h4>$fields</h4>
 
1883
<code>array</code><p>list of active fields</p></div>
 
1884
<div class="subelement argument">
 
1885
<h4>$attributes</h4>
 
1886
<code>array</code><p>attributes of LDAP account</p></div>
 
1887
<div class="subelement argument">
 
1888
<h4>$readOnlyFields</h4>
 
1889
<code>array</code><p>list of read-only fields</p>
 
1890
</div>
 
1891
<div class="subelement argument">
 
1892
<h4>$required</h4>
 
1893
<code>boolean</code><p>field is required</p></div>
 
1894
<div class="subelement argument">
 
1895
<h4>$isTextArea</h4>
 
1896
<code>boolean</code><p>display as text area</p></div>
 
1897
</div></div>
 
1898
</div>
 
1899
<a name="checkSimpleSelfServiceTextField" id="checkSimpleSelfServiceTextField"></a><div class="element clickable method protected checkSimpleSelfServiceTextField" data-toggle="collapse" data-target=".checkSimpleSelfServiceTextField .collapse">
 
1900
<h2>Checks the input value of a self service text field.</h2>
 
1901
<pre>checkSimpleSelfServiceTextField(array $container, String $name, array $attributes, string $fields, array $readOnlyFields, String $validationID) </pre>
 
1902
<div class="labels"><span class="label">Inherited</span></div>
 
1903
<div class="row collapse"><div class="detail-description">
 
1904
<p class="long_description"><p>The field name must be the same as the class name plus "_" plus attribute name (e.g. posixAccount_cn).
 
1905
If validation is used then there must exist a message named [{attribute name}][0] (e.g. $this->messages['street'][0]).</p></p>
 
1906
<table class="table table-bordered"><tr>
 
1907
<th>inherited_from</th>
 
1908
<td>\baseModule::checkSimpleSelfServiceTextField()</td>
 
1909
</tr></table>
 
1910
<h3>Parameters</h3>
 
1911
<div class="subelement argument">
 
1912
<h4>$container</h4>
 
1913
<code>array</code><p>return value of checkSelfServiceOptions()</p>
 
1914
</div>
 
1915
<div class="subelement argument">
 
1916
<h4>$name</h4>
 
1917
<code>String</code><p>attribute name</p></div>
 
1918
<div class="subelement argument">
 
1919
<h4>$attributes</h4>
 
1920
<code>array</code><p>LDAP attributes</p></div>
 
1921
<div class="subelement argument">
 
1922
<h4>$fields</h4>
 
1923
<code>string</code><p>input fields</p></div>
 
1924
<div class="subelement argument">
 
1925
<h4>$readOnlyFields</h4>
 
1926
<code>array</code><p>list of read-only fields</p>
 
1927
</div>
 
1928
<div class="subelement argument">
 
1929
<h4>$validationID</h4>
 
1930
<code>String</code><p>validation ID for get_preg()</p>
 
1931
</div>
1816
1932
</div></div>
1817
1933
</div>
1818
1934
<a name="getAccountContainer" id="getAccountContainer"></a><div class="element clickable method protected getAccountContainer" data-toggle="collapse" data-target=".getAccountContainer .collapse">
1855
1971
<code>boolean</code>true if option is set</div>
1856
1972
</div></div>
1857
1973
</div>
 
1974
<a name="processMultiValueInputTextField" id="processMultiValueInputTextField"></a><div class="element clickable method protected processMultiValueInputTextField" data-toggle="collapse" data-target=".processMultiValueInputTextField .collapse">
 
1975
<h2>Validates a multi-value text field.</h2>
 
1976
<pre>processMultiValueInputTextField(String $attrName, array $errors, String $validationID) </pre>
 
1977
<div class="labels"><span class="label">Inherited</span></div>
 
1978
<div class="row collapse"><div class="detail-description">
 
1979
<p class="long_description"><p>The input fields must be created with function addMultiValueInputTextField().
 
1980
If validation is used then there must exist a message named [{attribute name}][0] (e.g. $this->messages['street'][0]).</p></p>
 
1981
<table class="table table-bordered"><tr>
 
1982
<th>inherited_from</th>
 
1983
<td>\baseModule::processMultiValueInputTextField()</td>
 
1984
</tr></table>
 
1985
<h3>Parameters</h3>
 
1986
<div class="subelement argument">
 
1987
<h4>$attrName</h4>
 
1988
<code>String</code><p>attribute name</p></div>
 
1989
<div class="subelement argument">
 
1990
<h4>$errors</h4>
 
1991
<code>array</code><p>errors array where to put validation errors</p></div>
 
1992
<div class="subelement argument">
 
1993
<h4>$validationID</h4>
 
1994
<code>String</code><p>validation ID for function get_preg() (default: null, null means no validation)</p>
 
1995
</div>
 
1996
</div></div>
 
1997
</div>
1858
1998
<a name="addFixIPs" id="addFixIPs"></a><div class="element clickable method private addFixIPs" data-toggle="collapse" data-target=".addFixIPs .collapse">
1859
1999
<h2>Returns if fixed IPs are added to DDNS.</h2>
1860
2000
<pre>addFixIPs() : boolean</pre>
2098
2238
<div class="row"><footer class="span12">
2099
2239
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
2100
2240
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
2101
 
            generated on 2013-03-18T20:12:54+01:00.<br></footer></div>
 
2241
            generated on 2013-06-17T21:08:48+02:00.<br></footer></div>
2102
2242
</div>
2103
2243
</body>
2104
2244
</html>