Location: PHPKode > projects > Aukyla Platform > aukyla/doc/html/a00127.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>MenuEntry Class Reference</h1><p>Inheritance diagram for MenuEntry:
<p><center><img src="a00127.png" usemap="#MenuEntry_map" border="0" alt=""></center>
<map name="MenuEntry_map">
<area href="a00141.html" alt="RawContainer" shape="rect" coords="50,112,141,136">
<area href="a00096.html" alt="Container" shape="rect" coords="50,56,141,80">
<area href="a00166.html" alt="Widget" shape="rect" coords="50,0,141,24">
<area href="a00128.html" alt="MenuHead" shape="rect" coords="0,224,91,248">
<area href="a00154.html" alt="SubMenu" shape="rect" coords="101,224,192,248">
</map>
<a href="a00050.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A menu entry. 
<p>

<p>
Definition at line <a class="el" href="a00223.html#l00102">102</a> of file <a class="el" href="a00223.html">Menus.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="a00127.html#a0">__construct</a> ($parent, $text= '')</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00127.html#a2">setPriority</a> ($priority)</td></tr>

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

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

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00127.html#p0">$cssClass</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00127.html#p1">$cssStyle</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00127.html#p2">$text</a></td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a0" doxytag="MenuEntry::__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">MenuEntry::__construct           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>parent</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>text</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>
Constructor.<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>parent</em>&nbsp;</td><td><a class="el" href="a00126.html">Menu</a> to add this entry to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Text of the entry as shown to the user.</td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="a00128.html#a0">MenuHead</a>, and <a class="el" href="a00154.html#a0">SubMenu</a>.
<p>
Definition at line <a class="el" href="a00223.html#l00110">110</a> of file <a class="el" href="a00223.html">Menus.php</a>.
<p>
References <a class="el" href="a00223.html#l00158">priority()</a>, <a class="el" href="a00239.html#l00134">Widget::setCssClass()</a>, and <a class="el" href="a00239.html#l00424">RawContainer::setText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="MenuEntry::priority"></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">MenuEntry::priority           </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>
Returns the priority of the entry.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The priority, 0 means a neutral priority.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00127.html#a2">setPriority()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00223.html#l00158">158</a> of file <a class="el" href="a00223.html">Menus.php</a>.
<p>
Referenced by <a class="el" href="a00223.html#l00110">__construct()</a>, and <a class="el" href="a00223.html#l00146">setPriority()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="MenuEntry::setLink"></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">MenuEntry::setLink           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>link</em>          </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>
Sets the link this menu entry points to.<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>link</em>&nbsp;</td><td><a class="el" href="a00118.html">Link</a> where this entry will bring you if clicked upon.</td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="a00154.html#a1">SubMenu</a>.
<p>
Definition at line <a class="el" href="a00223.html#l00131">131</a> of file <a class="el" href="a00223.html">Menus.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="MenuEntry::setPriority"></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">MenuEntry::setPriority           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>priority</em>          </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>
Sets the priority of the entry.<p>
The priority can be both a positive or a negative integer, the higher the priority, the higher the entry will be listed in the menu.<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>priority</em>&nbsp;</td><td>The new priority of the entry.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00127.html#a3">priority()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00223.html#l00146">146</a> of file <a class="el" href="a00223.html">Menus.php</a>.
<p>
References <a class="el" href="a00223.html#l00158">priority()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="MenuEntry::show"></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">MenuEntry::show           </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>
Displays the set text.
<p>
Reimplemented from <a class="el" href="a00141.html#a2">RawContainer</a>.
<p>
Reimplemented in <a class="el" href="a00154.html#a2">SubMenu</a>.
<p>
Definition at line <a class="el" href="a00223.html#l00163">163</a> of file <a class="el" href="a00223.html">Menus.php</a>.
<p>
References <a class="el" href="a00239.html#l00271">Container::show()</a>, and <a class="el" href="a00229.html#l00168">Output::write()</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="p0" doxytag="MenuEntry::$cssClass"></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">MenuEntry::$cssClass<code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A CSS class assigned to this widget.
<p>
Reimplemented from <a class="el" href="a00166.html#p4">Widget</a>.
<p>
Definition at line <a class="el" href="a00223.html#l00172">172</a> of file <a class="el" href="a00223.html">Menus.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="p1" doxytag="MenuEntry::$cssStyle"></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">MenuEntry::$cssStyle<code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Custom CSS properties assigned to this widget.
<p>
Reimplemented from <a class="el" href="a00166.html#p5">Widget</a>.
<p>
Definition at line <a class="el" href="a00223.html#l00173">173</a> of file <a class="el" href="a00223.html">Menus.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="p2" doxytag="MenuEntry::$text"></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">MenuEntry::$text<code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The text shown in this widget.
<p>
Reimplemented from <a class="el" href="a00141.html#p0">RawContainer</a>.
<p>
Reimplemented in <a class="el" href="a00154.html#p1">SubMenu</a>.
<p>
Definition at line <a class="el" href="a00223.html#l00174">174</a> of file <a class="el" href="a00223.html">Menus.php</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00223.html">Menus.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Platform