Location: PHPKode > projects > Aukyla Platform > doc/html/a00157.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>TableRow Class Reference</h1><p>Inheritance diagram for TableRow:
<p><center><img src="a00157.png" usemap="#TableRow_map" border="0" alt=""></center>
<map name="TableRow_map">
<area href="a00096.html" alt="Container" shape="rect" coords="0,56,67,80">
<area href="a00166.html" alt="Widget" shape="rect" coords="0,0,67,24">
</map>
<a href="a00068.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A table row. 
<p>

<p>
Definition at line <a class="el" href="a00236.html#l00212">212</a> of file <a class="el" href="a00236.html">Tables.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="a00157.html#a0">__construct</a> (<a class="el" href="a00155.html">Table</a> $parent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#a1">addWidget</a> (<a class="el" href="a00166.html">Widget</a> $widget)</td></tr>

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

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

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

<tr><td colspan="2"><br><h2>Protected 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="a00157.html#b0">showMissingColumns</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="a00157.html#p0">$children</a></td></tr>

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

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

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

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a0" doxytag="TableRow::__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">TableRow::__construct           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a00155.html">Table</a> $&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>parent</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>
Constructor. Creates an empty table row.<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="a00155.html">Table</a> to add the row to.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="a00236.html#l00219">219</a> of file <a class="el" href="a00236.html">Tables.php</a>.
<p>
References <a class="el" href="a00236.html#l00344">$parent</a>, and <a class="el" href="a00236.html#l00266">width()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="TableRow::addWidget"></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">TableRow::addWidget           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a00166.html">Widget</a> $&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>widget</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>
Adds a widget to the children list.<p>
<dl compact><dt><b>Note:</b></dt><dd>You shouldn't have to call this function directly as the constructor of child widgets will already call this function for you.</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>widget</em>&nbsp;</td><td>The widget to add to the children list.</td></tr>
  </table>
</dl>

<p>
Reimplemented from <a class="el" href="a00096.html#a1">Container</a>.
<p>
Definition at line <a class="el" href="a00236.html#l00246">246</a> of file <a class="el" href="a00236.html">Tables.php</a>.
<p>
References <a class="el" href="a00236.html#l00266">width()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="TableRow::cell"></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">TableRow::cell           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>n</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>
Returns a given <a class="el" href="a00156.html">TableCell</a> from this row.<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>n</em>&nbsp;</td><td>The cell number to return, starting from 0. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="a00156.html">TableCell</a> instance, or <code>NULL</code> if this cell does not exist.</dd></dl>

<p>
Definition at line <a class="el" href="a00236.html#l00277">277</a> of file <a class="el" href="a00236.html">Tables.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="TableRow::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">TableRow::show           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>alternate</em> = <code>false</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>columnsAlternate</em> = <code>false</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>
Shows the table row.<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>alternate</em>&nbsp;</td><td>Boolean determining whether this row is an alternate row. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>columnsAlternate</em>&nbsp;</td><td>Boolean determining whether the columns in this header should alternate.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="a00236.html#l00290">290</a> of file <a class="el" href="a00236.html">Tables.php</a>.
<p>
References <a class="el" href="a00239.html#l00134">Widget::setCssClass()</a>, <a class="el" href="a00236.html#l00321">showMissingColumns()</a>, and <a class="el" href="a00229.html#l00168">Output::write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b0" doxytag="TableRow::showMissingColumns"></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">TableRow::showMissingColumns           </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> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Shows any missing columns in this row.
<p>
Definition at line <a class="el" href="a00236.html#l00321">321</a> of file <a class="el" href="a00236.html">Tables.php</a>.
<p>
References <a class="el" href="a00236.html#l00266">width()</a>.
<p>
Referenced by <a class="el" href="a00236.html#l00290">show()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="TableRow::width"></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">TableRow::width           </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 number of columns of the row.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of columns the row is wide.</dd></dl>

<p>
Definition at line <a class="el" href="a00236.html#l00266">266</a> of file <a class="el" href="a00236.html">Tables.php</a>.
<p>
Referenced by <a class="el" href="a00236.html#l00219">__construct()</a>, <a class="el" href="a00236.html#l00246">addWidget()</a>, and <a class="el" href="a00236.html#l00321">showMissingColumns()</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="p0" doxytag="TableRow::$children"></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">TableRow::$children<code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Registered children of the class.
<p>
Reimplemented from <a class="el" href="a00096.html#p0">Container</a>.
<p>
Definition at line <a class="el" href="a00236.html#l00342">342</a> of file <a class="el" href="a00236.html">Tables.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="p1" doxytag="TableRow::$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">TableRow::$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="a00236.html#l00343">343</a> of file <a class="el" href="a00236.html">Tables.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="p2" doxytag="TableRow::$parent"></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">TableRow::$parent<code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Parent in the widget tree.
<p>
Reimplemented from <a class="el" href="a00166.html#p0">Widget</a>.
<p>
Definition at line <a class="el" href="a00236.html#l00344">344</a> of file <a class="el" href="a00236.html">Tables.php</a>.
<p>
Referenced by <a class="el" href="a00236.html#l00219">__construct()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="p3" doxytag="TableRow::$width"></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">TableRow::$width<code> [protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Number of cells this row contains.
<p>
Definition at line <a class="el" href="a00236.html#l00349">349</a> of file <a class="el" href="a00236.html">Tables.php</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00236.html">Tables.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Platform