<html>
<head>
<title>Docs For Class CfgMain</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4179059556107138";
google_alternate_ad_url = "http://lam.sourceforge.net/google_adsense_script.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "EEEEEE";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>



<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>
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</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_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_profmanage_php.html">		profmanage.php
		</a><br>
	  </div><br />
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../configuration/CfgMain.html">CfgMain</a><br />
	    		<a href="../configuration/Config.html">Config</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: CfgMain</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/CfgMain.html#var$default">$default</a></li>
    <li><a href="../configuration/CfgMain.html#var$password">$password</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../configuration/CfgMain.html#methodCfgMain">CfgMain</a></li>
    <li><a href="../configuration/CfgMain.html#methodreload">reload</a></li>
    <li><a href="../configuration/CfgMain.html#methodsave">save</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 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">
	<a name="var$default"></a>
	<p></p>
	<h4>$default = <span class="value"></span></h4>
	<p>[line 717]</p>
  Default profile<br /><br />
  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</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 />
  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</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="methodCfgMain"></a>
	<h3>constructor CfgMain <span class="smalllinenumber">[line 725]</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>CfgMain CfgMain(
)</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="methodreload"></a>
	<h3>method reload <span class="smalllinenumber">[line 734]</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 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>&nbsp;&nbsp;</td><td>true if file was readable</td>
  </tr>
</table>
</div>
<br /><br />




        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsave"></a>
	<h3>method save <span class="smalllinenumber">[line 761]</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 />




        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Tue, 07 Feb 2006 17:03:36 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>


<p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4179059556107138";
google_alternate_ad_url = "http://lam.sourceforge.net/google_adsense_script.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "EEEEEE";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>

</body>
</html>