<html> <head> <title>Docs For Class LAMCfgMain</title> <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_INSTALL.html">INSTALL</a></p> <p><a href="../ric_README.html">README</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 /> <a href="../li_selfService.html">selfService</a><br /> <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 </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 </a><br> <a href="../configuration/_templates---config---profmanage.php.html"> profmanage.php </a><br> </div><br /> <b>Classes:</b><br /> <div class="package"> <a href="../configuration/LAMCfgMain.html">LAMCfgMain</a><br /> <a href="../configuration/LAMConfig.html">LAMConfig</a><br /> </div> </td> <td> <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top"> <h1>Class: LAMCfgMain</h1> 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 /> </td> <td valign="top"> <h3><a href="#class_vars">Variables</a></h3> <ul> <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$sessionTimeout">$sessionTimeout</a></li> </ul> </td> <td valign="top"> <h3><a href="#class_methods">Methods</a></h3> <ul> <li><a href="../configuration/LAMCfgMain.html#method__construct">__construct</a></li> <li><a href="../configuration/LAMCfgMain.html#methodcheckPassword">checkPassword</a></li> <li><a href="../configuration/LAMCfgMain.html#methodsave">save</a></li> <li><a href="../configuration/LAMCfgMain.html#methodsetPassword">setPassword</a></li> </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 882]<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"> <a name="var$allowedHosts"></a> <p></p> <h4>$allowedHosts = <span class="value"></span></h4> <p>[line 900]</p> list of hosts which may access LAM<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <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$default"></a> <p></p> <h4>$default = <span class="value"></span></h4> <p>[line 885]</p> Default profile<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <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 897]</p> log destination ("SYSLOG":syslog, "/...":file, "NONE":none)<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <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 894]</p> log level<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <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 891]</p> Time of inactivity before session times out (minutes)<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <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"> <hr /> <a name="method__construct"></a> <h3>constructor __construct <span class="smalllinenumber">[line 909]</span></h3> <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>LAMCfgMain __construct( )</code> </td></tr></table> </td></tr></table><br /> Loads preferences from config file<br /><br /><br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div> </div> <hr /> <a name="methodcheckPassword"></a> <h3>method checkPassword <span class="smalllinenumber">[line 1014]</span></h3> <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 checkPassword( String $password)</code> </td></tr></table> </td></tr></table><br /> Checks if the given password matches.<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 password matches</td> </tr> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <br /><br /> <h4>Parameters:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="type">String </td> <td><b>$password</b> </td> <td>password</td> </tr> </table> </div><br /> <div class="top">[ <a href="#top">Top</a> ]</div> </div> <hr /> <a name="methodsave"></a> <h3>method save <span class="smalllinenumber">[line 950]</span></h3> <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 /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <br /><br /> <div class="top">[ <a href="#top">Top</a> ]</div> </div> <hr /> <a name="methodsetPassword"></a> <h3>method setPassword <span class="smalllinenumber">[line 1000]</span></h3> <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 setPassword( String $password)</code> </td></tr></table> </td></tr></table><br /> Sets a new config password.<br /><br /><br /><br /> <h4>Tags:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><b>access:</b> </td><td>public</td> </tr> </table> </div> <br /><br /> <h4>Parameters:</h4> <div class="tags"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="type">String </td> <td><b>$password</b> </td> <td>new password</td> </tr> </table> </div><br /> <div class="top">[ <a href="#top">Top</a> ]</div> </div> </div><br /> <div class="credit"> <hr /> Documentation generated on Thu, 07 Feb 2008 20:26:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> </div> </td></tr></table> </td> </tr> </table> </body> </html>