LDAPAccountManager/lam-web/developers/phpdoc/configuration/_lib---config.inc.html

258 lines
9.3 KiB
HTML

<html>
<head>
<title>Docs for page config.inc</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_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 />
<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>Procedural File: config.inc</h1>
Source Location: /lib/config.inc<br /><br />
<br>
<br>
<div class="contents">
<h2>Classes:</h2>
<dt><a href="../configuration/LAMConfig.html">LAMConfig</a></dt>
<dd>This class manages .conf files.</dd>
<dt><a href="../configuration/LAMCfgMain.html">LAMCfgMain</a></dt>
<dd>This class manages config.cfg.</dd>
</div><br /><br />
<h2>Page Details:</h2>
This file includes functions to manage the configuration files.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Roland Gruber</td>
</tr>
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Thomas Manninger</td>
</tr>
</table>
</div>
<br /><br />
<h4>Includes:</h4>
<div class="tags">
include_once(<a href="../modules/_lib---modules.inc.html">"modules.inc"</a>) [line 36]<br />
Used to get module information.<br /><br />include_once(<a href="../lib/_lib---status.inc.html">"status.inc"</a>) [line 34]<br />
Used to print messages.<br /><br />include_once(<a href="../types/_lib---types.inc.html">"types.inc"</a>) [line 38]<br />
Used to get type information.<br /><br /></div>
<br /><br />
<br /><br />
<br />
<hr />
<a name="functioncheckChmod"></a>
<h3>checkChmod <span class="smalllinenumber">[line 66]</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>true, checkChmod(
$right $right, $target $target, $chmod $chmod)</code>
</td></tr></table>
</td></tr></table><br />
Checks whether a specific flag in the rights string is set.<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>if the chmod $right for $target were set</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters</h4>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">$right&nbsp;&nbsp;</td>
<td><b>$right</b>&nbsp;&nbsp;</td>
<td>read,write or execute</td>
</tr>
<tr>
<td class="type">$target&nbsp;&nbsp;</td>
<td><b>$target</b>&nbsp;&nbsp;</td>
<td>owner,group or other</td>
</tr>
<tr>
<td class="type">$chmod&nbsp;&nbsp;</td>
<td><b>$chmod</b>&nbsp;&nbsp;</td>
<td>the chmod rights</td>
</tr>
</table>
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
</div>
<hr />
<a name="functiongetConfigProfiles"></a>
<h3>getConfigProfiles <span class="smalllinenumber">[line 102]</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>array getConfigProfiles(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns an array of string with all available configuration profiles (without .conf)<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>profile names</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
</div>
<hr />
<a name="functionLAMVersion"></a>
<h3>LAMVersion <span class="smalllinenumber">[line 126]</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>string LAMVersion(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns the version number of this LAM installation.<br /><br /><p>Format: &lt;major version&gt;.&lt;minor version&gt;.&lt;patch level&gt; <br /> Major/minor version are always numbers, patch level may contain letters for inofficial releases only (e.g. 0.5.alpha1).</p><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>version number</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
</div>
<hr />
<a name="functionmetaRefresh"></a>
<h3>metaRefresh <span class="smalllinenumber">[line 144]</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 metaRefresh(
string $page)</code>
</td></tr></table>
</td></tr></table><br />
Prints a meta refresh page<br /><br /> <br /><br />
<h4>Parameters</h4>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$page</b>&nbsp;&nbsp;</td>
<td>the URL of the target page</td>
</tr>
</table>
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
</div>
<hr />
<a name="functionsetlanguage"></a>
<h3>setlanguage <span class="smalllinenumber">[line 43]</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 setlanguage(
)</code>
</td></tr></table>
</td></tr></table><br />
Sets language settings for automatic translation<br /><br /> <br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
</div>
<div class="credit">
<hr />
Documentation generated on Sun, 06 Jan 2008 18:58:55 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>