Location: PHPKode > projects > Aukyla Document Management System > doc/html/a00142.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>RawWidget Class Reference</h1><p>Inheritance diagram for RawWidget:
<p><center><img src="a00142.png" usemap="#RawWidget_map" border="0" alt=""></center>
<map name="RawWidget_map">
<area href="a00166.html" alt="Widget" shape="rect" coords="47,0,131,24">
<area href="a00112.html" alt="HTMLWidget" shape="rect" coords="0,112,84,136">
<area href="a00113.html" alt="Image" shape="rect" coords="94,112,178,136">
<area href="a00135.html" alt="PageIcon" shape="rect" coords="94,168,178,192">
</map>
<a href="a00079.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Raw widget. 
<p>
This is the simplest form of a widget. It just inserts the raw text when the widget is shown.<p>
You can use this widget to insert raw Aukyla XML data. Only use this widget if you really know what you are doing though. 
<p>

<p>
Definition at line <a class="el" href="a00239.html#l00357">357</a> of file <a class="el" href="a00239.html">Widgets.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="a00142.html#a0">__construct</a> (<a class="el" href="a00096.html">Container</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="a00142.html#a1">setText</a> ($text)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00142.html#a2">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="a00142.html#p0">$text</a></td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a0" doxytag="RawWidget::__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">RawWidget::__construct           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a00096.html">Container</a> $&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>The parent widget this widget should be added to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The raw text data that should be displayed.</td></tr>
  </table>
</dl>

<p>
Reimplemented from <a class="el" href="a00166.html#a0">Widget</a>.
<p>
Reimplemented in <a class="el" href="a00113.html#a0">Image</a>, <a class="el" href="a00135.html#a0">PageIcon</a>, and <a class="el" href="a00112.html#a0">HTMLWidget</a>.
<p>
Definition at line <a class="el" href="a00239.html#l00365">365</a> of file <a class="el" href="a00239.html">Widgets.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="RawWidget::setText"></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">RawWidget::setText           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>text</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 text on this widget.<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>text</em>&nbsp;</td><td>The new text to be shown on the widget.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="a00239.html#l00377">377</a> of file <a class="el" href="a00239.html">Widgets.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="RawWidget::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">RawWidget::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="a00166.html#a10">Widget</a>.
<p>
Reimplemented in <a class="el" href="a00113.html#a2">Image</a>, and <a class="el" href="a00135.html#a1">PageIcon</a>.
<p>
Definition at line <a class="el" href="a00239.html#l00385">385</a> of file <a class="el" href="a00239.html">Widgets.php</a>.
<p>
References <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="RawWidget::$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">RawWidget::$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 in <a class="el" href="a00113.html#p0">Image</a>.
<p>
Definition at line <a class="el" href="a00239.html#l00393">393</a> of file <a class="el" href="a00239.html">Widgets.php</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00239.html">Widgets.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Document Management System