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
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>
142
142
<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>
143
143
<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>
144
144
<li class="nav-header protected">» Protected</li>
145
<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>
145
146
<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>
146
147
<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>
148
<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>
149
<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>
147
150
<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>
148
151
<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>
152
<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>
149
153
<li class="nav-header">
150
154
<i class="icon-custom icon-property"></i> Properties</li>
151
155
<li class="property public "><a href="#%24attributes" title="$attributes :: LDAP attributes"><span class="description">LDAP attributes</span><pre>$attributes</pre></a></li>
1789
1793
<code>boolean</code>support admin interface</div>
1796
<a name="addMultiValueInputTextField" id="addMultiValueInputTextField"></a><div class="element clickable method protected addMultiValueInputTextField" data-toggle="collapse" data-target=".addMultiValueInputTextField .collapse">
1797
<h2>Adds a text input field that may contain multiple values to the given htmlTable.</h2>
1798
<pre>addMultiValueInputTextField(<a href="../classes/htmlTable.html">\htmlTable</a> $container, String $attrName, String $label, boolean $required, integer $length) </pre>
1799
<div class="labels"><span class="label">Inherited</span></div>
1800
<div class="row collapse"><div class="detail-description">
1801
<p class="long_description"><p>The field name will be the same as the attribute name plus a counting number (e.g. street_0).
1802
The last field will be followed by a button to add a new value. This is named add_{attribute name} (e.g. add_street).
1803
There must be a help entry with the attribute name as ID.
1804
A new line will also be added after this entry so multiple calls will show the fields one below the other.</p></p>
1805
<table class="table table-bordered"><tr>
1806
<th>inherited_from</th>
1807
<td>\baseModule::addMultiValueInputTextField()</td>
1810
<div class="subelement argument">
1812
<code><a href="../classes/htmlTable.html">\htmlTable</a></code><p>parent container</p></div>
1813
<div class="subelement argument">
1815
<code>String</code><p>attribute name</p></div>
1816
<div class="subelement argument">
1818
<code>String</code><p>label name</p></div>
1819
<div class="subelement argument">
1821
<code>boolean</code><p>this is a required field (default false)</p>
1823
<div class="subelement argument">
1825
<code>integer</code><p>field length</p></div>
1792
1828
<a name="addSimpleInputTextField" id="addSimpleInputTextField"></a><div class="element clickable method protected addSimpleInputTextField" data-toggle="collapse" data-target=".addSimpleInputTextField .collapse">
1793
1829
<h2>Adds a simple text input field to the given htmlTable.</h2>
1794
<pre>addSimpleInputTextField(<a href="../classes/htmlTable.html">\htmlTable</a> $container, String $attrName, String $label, boolean $required, integer $length) </pre>
1830
<pre>addSimpleInputTextField(<a href="../classes/htmlTable.html">\htmlTable</a> $container, String $attrName, String $label, boolean $required, integer $length, boolean $isTextArea) </pre>
1795
1831
<div class="labels"><span class="label">Inherited</span></div>
1796
1832
<div class="row collapse"><div class="detail-description">
1797
1833
<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.
1847
1887
<div class="subelement argument">
1848
1888
<h4>$delimiter</h4>
1849
<code>String</code><p>delimiter if multiple attribute values exist</p></div>
1889
<code>String</code><p>delimiter if multiple attribute values exist (default: ", ")</p>
1893
<a name="addSimpleSelfServiceTextField" id="addSimpleSelfServiceTextField"></a><div class="element clickable method protected addSimpleSelfServiceTextField" data-toggle="collapse" data-target=".addSimpleSelfServiceTextField .collapse">
1894
<h2>Adds a simple text input field for the self service.</h2>
1895
<pre>addSimpleSelfServiceTextField(array $container, String $name, String $label, array $fields, array $attributes, array $readOnlyFields, boolean $required, boolean $isTextArea) </pre>
1896
<div class="labels"><span class="label">Inherited</span></div>
1897
<div class="row collapse"><div class="detail-description">
1898
<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>
1899
<table class="table table-bordered"><tr>
1900
<th>inherited_from</th>
1901
<td>\baseModule::addSimpleSelfServiceTextField()</td>
1904
<div class="subelement argument">
1906
<code>array</code><p>array that is used as return value for getSelfServiceOptions()</p>
1908
<div class="subelement argument">
1910
<code>String</code><p>attribute name (== field name)</p>
1912
<div class="subelement argument">
1914
<code>String</code><p>label to display in front of input field</p></div>
1915
<div class="subelement argument">
1917
<code>array</code><p>list of active fields</p></div>
1918
<div class="subelement argument">
1919
<h4>$attributes</h4>
1920
<code>array</code><p>attributes of LDAP account</p></div>
1921
<div class="subelement argument">
1922
<h4>$readOnlyFields</h4>
1923
<code>array</code><p>list of read-only fields</p>
1925
<div class="subelement argument">
1927
<code>boolean</code><p>field is required</p></div>
1928
<div class="subelement argument">
1929
<h4>$isTextArea</h4>
1930
<code>boolean</code><p>display as text area</p></div>
1933
<a name="checkSimpleSelfServiceTextField" id="checkSimpleSelfServiceTextField"></a><div class="element clickable method protected checkSimpleSelfServiceTextField" data-toggle="collapse" data-target=".checkSimpleSelfServiceTextField .collapse">
1934
<h2>Checks the input value of a self service text field.</h2>
1935
<pre>checkSimpleSelfServiceTextField(array $container, String $name, array $attributes, string $fields, array $readOnlyFields, String $validationID) </pre>
1936
<div class="labels"><span class="label">Inherited</span></div>
1937
<div class="row collapse"><div class="detail-description">
1938
<p class="long_description"><p>The field name must be the same as the class name plus "_" plus attribute name (e.g. posixAccount_cn).
1939
If validation is used then there must exist a message named [{attribute name}][0] (e.g. $this->messages['street'][0]).</p></p>
1940
<table class="table table-bordered"><tr>
1941
<th>inherited_from</th>
1942
<td>\baseModule::checkSimpleSelfServiceTextField()</td>
1945
<div class="subelement argument">
1947
<code>array</code><p>return value of checkSelfServiceOptions()</p>
1949
<div class="subelement argument">
1951
<code>String</code><p>attribute name</p></div>
1952
<div class="subelement argument">
1953
<h4>$attributes</h4>
1954
<code>array</code><p>LDAP attributes</p></div>
1955
<div class="subelement argument">
1957
<code>string</code><p>input fields</p></div>
1958
<div class="subelement argument">
1959
<h4>$readOnlyFields</h4>
1960
<code>array</code><p>list of read-only fields</p>
1962
<div class="subelement argument">
1963
<h4>$validationID</h4>
1964
<code>String</code><p>validation ID for get_preg()</p>
1852
1968
<a name="getAccountContainer" id="getAccountContainer"></a><div class="element clickable method protected getAccountContainer" data-toggle="collapse" data-target=".getAccountContainer .collapse">
1889
2005
<code>boolean</code>true if option is set</div>
2008
<a name="processMultiValueInputTextField" id="processMultiValueInputTextField"></a><div class="element clickable method protected processMultiValueInputTextField" data-toggle="collapse" data-target=".processMultiValueInputTextField .collapse">
2009
<h2>Validates a multi-value text field.</h2>
2010
<pre>processMultiValueInputTextField(String $attrName, array $errors, String $validationID) </pre>
2011
<div class="labels"><span class="label">Inherited</span></div>
2012
<div class="row collapse"><div class="detail-description">
2013
<p class="long_description"><p>The input fields must be created with function addMultiValueInputTextField().
2014
If validation is used then there must exist a message named [{attribute name}][0] (e.g. $this->messages['street'][0]).</p></p>
2015
<table class="table table-bordered"><tr>
2016
<th>inherited_from</th>
2017
<td>\baseModule::processMultiValueInputTextField()</td>
2020
<div class="subelement argument">
2022
<code>String</code><p>attribute name</p></div>
2023
<div class="subelement argument">
2025
<code>array</code><p>errors array where to put validation errors</p></div>
2026
<div class="subelement argument">
2027
<h4>$validationID</h4>
2028
<code>String</code><p>validation ID for function get_preg() (default: null, null means no validation)</p>
1893
2033
<i class="icon-custom icon-property"></i> Properties</h3>
1894
2034
<a name="%24attributes" id="$attributes"> </a><div class="element clickable property public $attributes" data-toggle="collapse" data-target=".$attributes .collapse">