Location: PHPKode > projects > Aukyla Platform > doc/html/a00092.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>Aukyla PHP Framework</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="StyleSheet" href="auton.css" type="text/css" media="screen">
  </head>

  <body>
    <div id="mainmenu">
      <a href="http://www.auton.nl/" class="home">Home</a>
    </div>
    <div id="submenu">
      <a class="logo" href="http://www.auton.nl/"></a>

      <div class="head">Ads</div>
      <a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=116358&amp;type=1" alt="SourceForge.net Logo" style="padding: 2px 4px; width: 88px; height: 31px; border: 0px"></a>
      <a href="http://getfirefox.com/" title="Get Firefox - The Browser, Reloaded."><img src="http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png" alt="Get Firefox" style="width: 110px; height: 32px; border: 0px"></a>
    </div>
    <div id="main">
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>Config Class Reference</h1><a href="a00002.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Class for managing global, application and user configurations. 
<p>
One instance of this class is always created automatically for accessing global variables. Global variables are the variables stored in the global.conf file and are neither module- nor user-specific. You can access the global variables using the static <a class="el" href="a00092.html#e0">globals()</a> function.<p>
If you do need access to module- or user-specific variables, you should create your own instance of this class. You can then access these variables using the <a class="el" href="a00092.html#a2">variable()</a> function.<p>
Finally, you can also use this class to access GET and POST variables. You should use the static function <a class="el" href="a00092.html#e2">request()</a> for this.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e0">globals()</a>, <a class="el" href="a00092.html#a2">variable()</a>, <a class="el" href="a00092.html#e2">request()</a> </dd></dl>

<p>

<p>
Definition at line <a class="el" href="a00207.html#l00062">62</a> of file <a class="el" href="a00207.html">Config.php</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#a0">__construct</a> ($modulename= '', $username= 'anonymous')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#a1">readConfiguration</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#a2">variable</a> ($variable, $default= '')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#a3">setVariable</a> ($variable, $value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#a4">saveConfiguration</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e0">globals</a> ($variable, $default= '')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e1">setGlobal</a> ($variable, $value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e2">request</a> ($variable, $default= '')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e3">requests</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e4">setRequest</a> ($variable, $value=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e5">unsetRequest</a> ($variable)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html#e6">unsetRequests</a> ()</td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a0" doxytag="Config::__construct"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::__construct           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>modulename</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>username</em> = <code>'anonymous'</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor.<p>
You only need to create your own instance of this class if you need to access module- or user-specific variables. You can access these variables using the <a class="el" href="a00092.html#a2">variable()</a> function.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>modulename</em>&nbsp;</td><td>Name of the module whose configuration file should be opened. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>username</em>&nbsp;</td><td>Name of the user whose configuration file(s) should be opened. If <code>modulename</code> is not empty, the user's configuration file for the given module will be opened as well.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>Anonymous users don't have personal configuration and you are advised against creating a Config class instance for anonymous users. The default 'anonymous' username is used for reading non-user-specific configuration.</dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00083">83</a> of file <a class="el" href="a00207.html">Config.php</a>.
<p>
References <a class="el" href="a00235.html#l00070">String::startsWith()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0" doxytag="Config::globals"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::globals           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>variable</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>default</em> = <code>''</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reads a global variable.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The global variable to read. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>default</em>&nbsp;</td><td>The default value to return in case the variable is not set. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The value of the global variable, or <code>default</code> if it was not set.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e1">setGlobal()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00205">205</a> of file <a class="el" href="a00207.html">Config.php</a>.
<p>
Referenced by <a class="el" href="a00229.html#l00046">Output::__construct()</a>, <a class="el" href="a00220.html#l00069">Login::__construct()</a>, <a class="el" href="a00215.html#l00047">Form::__construct()</a>, <a class="el" href="a00213.html#l00214">DocumentViewer::__construct()</a>, <a class="el" href="a00240.html#l00351">Window::show()</a>, <a class="el" href="a00226.html#l00264">Navigation::viewLink()</a>, and <a class="el" href="a00226.html#l00247">Navigation::windowLink()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="Config::readConfiguration"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::readConfiguration           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
(Re-)reads the configuration files, thereby resetting all variables to their initial value and discarting new variables.<p>
This function is called initially by the constructor.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#a0">__construct()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00122">122</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e2" doxytag="Config::request"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::request           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>variable</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>default</em> = <code>''</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a GET or POST request variable. If a variable has been set through both the GET and POST methods, POST will take precedence.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The request variable to read. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>default</em>&nbsp;</td><td>The default value to return in case the variable is not set. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The value of the GET or POST request variable, or <code>default</code> if it was not set.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e3">requests()</a>, <a class="el" href="a00092.html#e4">setRequest()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00243">243</a> of file <a class="el" href="a00207.html">Config.php</a>.
<p>
Referenced by <a class="el" href="a00240.html#l00070">WindowManager::__construct()</a>, <a class="el" href="a00238.html#l00056">ViewContainer::__construct()</a>, <a class="el" href="a00226.html#l00067">TabWidget::__construct()</a>, <a class="el" href="a00220.html#l00069">Login::__construct()</a>, and <a class="el" href="a00220.html#l00115">Login::login()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e3" doxytag="Config::requests"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::requests           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns all request variables in an array.<p>
<dl compact><dt><b>Returns:</b></dt><dd>An array containing all GET and POST request variables. The keys in the array are the variable names and the values represent the values of the request variables.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e2">request()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00259">259</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="Config::saveConfiguration"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::saveConfiguration           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Saves all set variables to disk. The changes are saved in the lowest order file. This means if a user has changed a variable that came from a global configuration file, the new value is saved in his personal configuration, not in the global configuration.<p>
<dl compact><dt><b>Warning:</b></dt><dd>Because anonymous users don't have any user-specifc configuration, they only use the global configuration directly. Saving their configuration would result in overwriting the global configuration.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#a3">setVariable()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00370">370</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e1" doxytag="Config::setGlobal"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::setGlobal           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>variable</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets a global variable.<p>
<dl compact><dt><b>Note:</b></dt><dd>The set variable is not saved to disk, you should create your own instance of this class and then use <a class="el" href="a00092.html#a3">setVariable()</a> to be able to save your configuration.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The global variable to change. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value for the variable.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e0">globals()</a>, <a class="el" href="a00092.html#a0">__construct()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00224">224</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e4" doxytag="Config::setRequest"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::setRequest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>variable</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em> = <code>false</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets a new value for a request variable.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The variable to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value for the variable. If the value is <code>false</code> the variable is unset.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e2">request()</a>, <a class="el" href="a00092.html#e5">unsetRequest()</a>, <a class="el" href="a00092.html#e6">unsetRequests()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00275">275</a> of file <a class="el" href="a00207.html">Config.php</a>.
<p>
Referenced by <a class="el" href="a00220.html#l00115">Login::login()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="Config::setVariable"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::setVariable           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>variable</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets a variable in the configuration file.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The variable to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value of the variable.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>The changes are not automatically saved to disk, use <a class="el" href="a00092.html#a4">saveConfiguration()</a> to save any changes permanently.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#a2">variable()</a>, <a class="el" href="a00092.html#a4">saveConfiguration()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00344">344</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e5" doxytag="Config::unsetRequest"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::unsetRequest           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>variable</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unsets a request variable.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The variable to unset.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e6">unsetRequests()</a>, <a class="el" href="a00092.html#e2">request()</a>, <a class="el" href="a00092.html#e4">setRequest()</a></dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>1.1</dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00298">298</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e6" doxytag="Config::unsetRequests"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::unsetRequests           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unsets all request variables.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#e4">setRequest()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00310">310</a> of file <a class="el" href="a00207.html">Config.php</a>.
<p>
Referenced by <a class="el" href="a00220.html#l00115">Login::login()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="Config::variable"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">Config::variable           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>variable</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>default</em> = <code>''</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reads a variable from the config file.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>variable</em>&nbsp;</td><td>The variable to read. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>default</em>&nbsp;</td><td>The default value to return in case the variable is not set. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The value of the configuration variable, or <code>default</code> if the variable was not set.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00092.html#a3">setVariable()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00207.html#l00328">328</a> of file <a class="el" href="a00207.html">Config.php</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00207.html">Config.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Platform