2006-07-09 14:14:57 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2006-11-15 17:09:38 +00:00
|
|
|
<title>Docs For Class LAMCfgMain</title>
|
2006-07-09 14:14:57 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
|
|
|
<tr>
|
|
|
|
<td class="header_top">configuration</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td class="header_menu">
|
|
|
|
[ <a href="../classtrees_configuration.html" class="menu">class tree: configuration</a> ]
|
|
|
|
[ <a href="../elementindex_configuration.html" class="menu">index: configuration</a> ]
|
|
|
|
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="200" class="menu">
|
|
|
|
<div id="ric">
|
|
|
|
<p><a href="../ric_README.html">README</a></p>
|
|
|
|
<p><a href="../ric_INSTALL.html">INSTALL</a></p>
|
|
|
|
</div>
|
|
|
|
<b>Packages:</b><br />
|
|
|
|
<a href="../li_configuration.html">configuration</a><br />
|
|
|
|
<a href="../li_Help.html">Help</a><br />
|
|
|
|
<a href="../li_LDAP.html">LDAP</a><br />
|
|
|
|
<a href="../li_lib.html">lib</a><br />
|
|
|
|
<a href="../li_lists.html">lists</a><br />
|
|
|
|
<a href="../li_main.html">main</a><br />
|
|
|
|
<a href="../li_modules.html">modules</a><br />
|
|
|
|
<a href="../li_PDF.html">PDF</a><br />
|
|
|
|
<a href="../li_profiles.html">profiles</a><br />
|
2006-11-15 17:09:38 +00:00
|
|
|
<a href="../li_selfService.html">selfService</a><br />
|
2006-07-09 14:14:57 +00:00
|
|
|
<a href="../li_tests.html">tests</a><br />
|
|
|
|
<a href="../li_tools.html">tools</a><br />
|
|
|
|
<a href="../li_types.html">types</a><br />
|
|
|
|
<br /><br />
|
|
|
|
<b>Files:</b><br />
|
|
|
|
<div class="package">
|
|
|
|
<a href="../configuration/_lib_config_inc.html"> config.inc
|
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_conflogin_php.html"> conflogin.php
|
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_confmain_php.html"> confmain.php
|
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_confmodules_php.html"> confmodules.php
|
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_conftypes_php.html"> conftypes.php
|
2006-11-15 17:09:38 +00:00
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_index_php.html"> index.php
|
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_mainlogin_php.html"> mainlogin.php
|
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_mainmanage_php.html"> mainmanage.php
|
2006-07-09 14:14:57 +00:00
|
|
|
</a><br>
|
|
|
|
<a href="../configuration/_templates_config_profmanage_php.html"> profmanage.php
|
|
|
|
</a><br>
|
|
|
|
</div><br />
|
|
|
|
|
2006-11-15 17:09:38 +00:00
|
|
|
|
2006-07-09 14:14:57 +00:00
|
|
|
<b>Classes:</b><br />
|
|
|
|
<div class="package">
|
2006-11-15 17:09:38 +00:00
|
|
|
<a href="../configuration/LAMCfgMain.html">LAMCfgMain</a><br />
|
|
|
|
<a href="../configuration/LAMConfig.html">LAMConfig</a><br />
|
2006-07-09 14:14:57 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
|
|
|
|
2006-11-15 17:09:38 +00:00
|
|
|
<h1>Class: LAMCfgMain</h1>
|
2006-07-09 14:14:57 +00:00
|
|
|
Source Location: /lib/config.inc<br /><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table width="100%" border="0">
|
|
|
|
<tr><td valign="top">
|
|
|
|
|
|
|
|
<h3><a href="#class_details">Class Overview</a></h3>
|
|
|
|
<pre></pre><br />
|
|
|
|
<div class="description">This class manages config.cfg.</div><br /><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-15 17:09:38 +00:00
|
|
|
|
2006-07-09 14:14:57 +00:00
|
|
|
</td>
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
<h3><a href="#class_vars">Variables</a></h3>
|
|
|
|
<ul>
|
2006-11-15 17:09:38 +00:00
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$allowedHosts">$allowedHosts</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$default">$default</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$logDestination">$logDestination</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$logLevel">$logLevel</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$password">$password</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$sessionTimeout">$sessionTimeout</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#var$settings">$settings</a></li>
|
2006-07-09 14:14:57 +00:00
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
<h3><a href="#class_methods">Methods</a></h3>
|
|
|
|
<ul>
|
2006-11-15 17:09:38 +00:00
|
|
|
<li><a href="../configuration/LAMCfgMain.html#methodLAMCfgMain">LAMCfgMain</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#methodreload">reload</a></li>
|
|
|
|
<li><a href="../configuration/LAMCfgMain.html#methodsave">save</a></li>
|
2006-07-09 14:14:57 +00:00
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr></table>
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<table width="100%" border="0"><tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</tr></table>
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<a name="class_details"></a>
|
|
|
|
<h3>Class Details</h3>
|
|
|
|
<div class="tags">
|
|
|
|
[line 714]<br />
|
|
|
|
This class manages config.cfg.<br /><br /></div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<a name="class_vars"></a>
|
|
|
|
<h3>Class Variables</h3>
|
|
|
|
<div class="tags">
|
2006-11-15 17:09:38 +00:00
|
|
|
<a name="var$allowedHosts"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$allowedHosts = <span class="value"></span></h4>
|
|
|
|
<p>[line 732]</p>
|
|
|
|
list of hosts which may access LAM<br /><br />
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
2006-07-09 14:14:57 +00:00
|
|
|
<a name="var$default"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$default = <span class="value"></span></h4>
|
|
|
|
<p>[line 717]</p>
|
|
|
|
Default profile<br /><br />
|
2006-11-15 17:09:38 +00:00
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$logDestination"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$logDestination = <span class="value"></span></h4>
|
|
|
|
<p>[line 729]</p>
|
|
|
|
log destination ("SYSLOG":syslog, "/...":file, "NONE":none)<br /><br />
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$logLevel"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$logLevel = <span class="value"></span></h4>
|
|
|
|
<p>[line 726]</p>
|
|
|
|
log level<br /><br />
|
2006-07-09 14:14:57 +00:00
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$password"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$password = <span class="value"></span></h4>
|
|
|
|
<p>[line 720]</p>
|
|
|
|
Password to change config.cfg<br /><br />
|
2006-11-15 17:09:38 +00:00
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$sessionTimeout"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$sessionTimeout = <span class="value"></span></h4>
|
|
|
|
<p>[line 723]</p>
|
|
|
|
Time of inactivity before session times out (minutes)<br /><br />
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$settings"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$settings = <span class="value">array("password", "default", "sessionTimeout",<br>
|
|
|
|
"logLevel", "logDestination", "allowedHosts")</span></h4>
|
|
|
|
<p>[line 735]</p>
|
|
|
|
list of data fields to save in config file<br /><br />
|
2006-07-09 14:14:57 +00:00
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
</div><br />
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<a name="class_methods"></a>
|
|
|
|
<h3>Class Methods</h3>
|
|
|
|
<div class="tags">
|
2006-11-15 17:09:38 +00:00
|
|
|
|
2006-07-09 14:14:57 +00:00
|
|
|
<hr />
|
2006-11-15 17:09:38 +00:00
|
|
|
<a name="methodLAMCfgMain"></a>
|
|
|
|
<h3>constructor LAMCfgMain <span class="smalllinenumber">[line 741]</span></h3>
|
2006-07-09 14:14:57 +00:00
|
|
|
<div class="function">
|
|
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
2006-11-15 17:09:38 +00:00
|
|
|
<code>LAMCfgMain LAMCfgMain(
|
2006-07-09 14:14:57 +00:00
|
|
|
)</code>
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table><br />
|
|
|
|
|
|
|
|
Loads preferences from config file<br /><br /><br /><br />
|
|
|
|
|
2006-11-15 17:09:38 +00:00
|
|
|
|
2006-07-09 14:14:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<a name="methodreload"></a>
|
2006-11-15 17:09:38 +00:00
|
|
|
<h3>method reload <span class="smalllinenumber">[line 755]</span></h3>
|
2006-07-09 14:14:57 +00:00
|
|
|
<div class="function">
|
|
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
|
|
|
<code>boolean reload(
|
|
|
|
)</code>
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table><br />
|
|
|
|
|
|
|
|
Reloads preferences from config file config.cfg<br /><br /><br /><br />
|
|
|
|
<h4>Tags:</h4>
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>return:</b> </td><td>true if file was readable</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<br /><br />
|
|
|
|
|
2006-11-15 17:09:38 +00:00
|
|
|
|
2006-07-09 14:14:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<a name="methodsave"></a>
|
2006-11-15 17:09:38 +00:00
|
|
|
<h3>method save <span class="smalllinenumber">[line 782]</span></h3>
|
2006-07-09 14:14:57 +00:00
|
|
|
<div class="function">
|
|
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
|
|
|
<code>void save(
|
|
|
|
)</code>
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table><br />
|
|
|
|
|
|
|
|
Saves preferences to config file config.cfg<br /><br /><br /><br />
|
|
|
|
|
2006-11-15 17:09:38 +00:00
|
|
|
|
2006-07-09 14:14:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
|
</div>
|
|
|
|
</div><br />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="credit">
|
|
|
|
<hr />
|
2006-11-15 17:09:38 +00:00
|
|
|
Documentation generated on Wed, 15 Nov 2006 18:00:39 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
2006-07-09 14:14:57 +00:00
|
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|