Location: PHPKode > projects > Aukyla Platform > doc/html/a00099.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>Decoration Class Reference</h1><a href="a00012.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Provides access to information about decorations and themes. 
<p>
This class provides information about decorations and themes.<p>
You can use the function <a class="el" href="a00099.html#e0">theme()</a> to get the currently used theme and the function <a class="el" href="a00099.html#e1">availableThemes()</a> to get a list of all available themes and their full names.<p>
Use the function <a class="el" href="a00099.html#e2">useDecorations()</a> to determine whether the user wants to see extra decorations, like page icons.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00099.html#e0">theme()</a>, <a class="el" href="a00099.html#e1">availableThemes()</a>, <a class="el" href="a00099.html#e2">useDecorations()</a> <p>
<a class="el" href="a00135.html">PageIcon</a> </dd></dl>

<p>

<p>
Definition at line <a class="el" href="a00212.html#l00038">38</a> of file <a class="el" href="a00212.html">Decoration.php</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></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="a00099.html#e0">theme</a> ()</td></tr>

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

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

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e1" doxytag="Decoration::availableThemes"></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">Decoration::availableThemes           </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 an array containing <code>CSS</code> =&gt; <code>Name</code> pairs. Where <code>CSS</code> is the basename of the CSS file used for a theme, and <code>Name</code> is the name of the theme.
<p>
Definition at line <a class="el" href="a00212.html#l00067">67</a> of file <a class="el" href="a00212.html">Decoration.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0" doxytag="Decoration::theme"></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">Decoration::theme           </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 the currently used theme as the basename of the CSS file used for the theme.
<p>
Definition at line <a class="el" href="a00212.html#l00055">55</a> of file <a class="el" href="a00212.html">Decoration.php</a>.
<p>
Referenced by <a class="el" href="a00240.html#l00351">Window::show()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e2" doxytag="Decoration::useDecorations"></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">Decoration::useDecorations           </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 whether the user wants to see extra decorations.<p>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if decorations are enabled, <code>false</code> otherwise.</dd></dl>

<p>
Definition at line <a class="el" href="a00212.html#l00088">88</a> of file <a class="el" href="a00212.html">Decoration.php</a>.
<p>
Referenced by <a class="el" href="a00217.html#l00415">PageIcon::show()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00212.html">Decoration.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Platform