Location: PHPKode > projects > Aukyla Platform > doc/html/a00134.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>Output Class Reference</h1><a href="a00060.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Provides output buffering and XSLT transformations. 
<p>
The output class provides central output handling for all <a class="el" href="a00166.html">Widget</a> classes. All output generated by the widgets is stored in a buffer which is automatically converted through an XSLT stylesheet to generate the final content which is then send to the client. The actual stylesheet conversion can also be done by the browser to unload the server.<p>
The XML doctype declaration is also initialized by this class, so you should not write these to the buffer yourself. 
<p>

<p>
Definition at line <a class="el" href="a00229.html#l00038">38</a> of file <a class="el" href="a00229.html">Output.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="a00134.html#a0">__construct</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00134.html#a1">__destruct</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="a00134.html#e0">disableTransformation</a> ()</td></tr>

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

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

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

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

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

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a0" doxytag="Output::__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">Output::__construct           </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>
Constructor.<p>
You should not have to instantiate this class yourself, a global instance is created for you automatically.
<p>
Definition at line <a class="el" href="a00229.html#l00046">46</a> of file <a class="el" href="a00229.html">Output.php</a>.
<p>
References <a class="el" href="a00207.html#l00205">Config::globals()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="Output::__destruct"></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">Output::__destruct           </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>
Destructor.<p>
Does the final XSLT transformation and flushes the output buffer to the client when the script terminates.
<p>
Definition at line <a class="el" href="a00229.html#l00061">61</a> of file <a class="el" href="a00229.html">Output.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0" doxytag="Output::disableTransformation"></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">Output::disableTransformation           </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>
Disable output transformation. This will discard all data which is being written to the output buffer. This can be useful if you access a script through an XML HTTP Request, for example.<p>
<dl compact><dt><b>Note:</b></dt><dd>Once disabled, output cannot be re-enabled.</dd></dl>

<p>
Definition at line <a class="el" href="a00229.html#l00106">106</a> of file <a class="el" href="a00229.html">Output.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e2" doxytag="Output::method"></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">Output::method           </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 output method which is being used.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The currently selected output method.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00134.html#e1">setMethod()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00229.html#l00140">140</a> of file <a class="el" href="a00229.html">Output.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e4" doxytag="Output::outputMethod"></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">Output::outputMethod           </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>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Use <a class="el" href="a00134.html#e2">method()</a> instead. </dd></dl>

<p>
Definition at line <a class="el" href="a00229.html#l00158">158</a> of file <a class="el" href="a00229.html">Output.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e1" doxytag="Output::setMethod"></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">Output::setMethod           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>outputMethod</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>
Sets the output method to use. This determines which XSLT transformation is performed before the output is send to the client.<p>
<dl compact><dt><b>Warning:</b></dt><dd>You should set the preferred output method as soon as you can. Some code may behave differently depending on the selected output method, therefore changing the method later on could give unexpected results.</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>outputMethod</em>&nbsp;</td><td>The new output method to use.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00134.html#e2">method()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00229.html#l00126">126</a> of file <a class="el" href="a00229.html">Output.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e3" doxytag="Output::setOutputMethod"></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">Output::setOutputMethod           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>outputMethod</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>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Use <a class="el" href="a00134.html#e1">setMethod()</a> instead. </dd></dl>

<p>
Definition at line <a class="el" href="a00229.html#l00150">150</a> of file <a class="el" href="a00229.html">Output.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e5" doxytag="Output::write"></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">Output::write           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>string</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>
Writes a string to the output buffer.<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>string</em>&nbsp;</td><td>The string to write to the output buffer.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="a00229.html#l00168">168</a> of file <a class="el" href="a00229.html">Output.php</a>.
<p>
Referenced by <a class="el" href="a00240.html#l00351">Window::show()</a>, <a class="el" href="a00239.html#l00478">Label::show()</a>, <a class="el" href="a00239.html#l00432">RawContainer::show()</a>, <a class="el" href="a00239.html#l00385">RawWidget::show()</a>, <a class="el" href="a00236.html#l00417">TableCell::show()</a>, <a class="el" href="a00236.html#l00290">TableRow::show()</a>, <a class="el" href="a00236.html#l00164">Table::show()</a>, <a class="el" href="a00226.html#l00173">TabWidget::show()</a>, <a class="el" href="a00223.html#l00235">SubMenu::show()</a>, <a class="el" href="a00223.html#l00163">MenuEntry::show()</a>, <a class="el" href="a00223.html#l00058">Menu::show()</a>, <a class="el" href="a00218.html#l00148">ExternalJavaScript::show()</a>, <a class="el" href="a00218.html#l00050">JavaScript::show()</a>, <a class="el" href="a00217.html#l00361">Ruler::show()</a>, <a class="el" href="a00217.html#l00348">Line::show()</a>, <a class="el" href="a00217.html#l00317">Image::show()</a>, <a class="el" href="a00217.html#l00271">GroupBox::show()</a>, <a class="el" href="a00217.html#l00214">Link::show()</a>, <a class="el" href="a00217.html#l00160">Paragraph::show()</a>, <a class="el" href="a00217.html#l00147">Header::show()</a>, <a class="el" href="a00217.html#l00134">Box::show()</a>, <a class="el" href="a00217.html#l00099">Section::show()</a>, <a class="el" href="a00215.html#l00905">Button::show()</a>, <a class="el" href="a00215.html#l00820">TextArea::show()</a>, <a class="el" href="a00215.html#l00623">RadioGroup::show()</a>, <a class="el" href="a00215.html#l00594">CheckboxInput::show()</a>, and <a class="el" href="a00215.html#l00066">Form::show()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00229.html">Output.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Platform