<?php
  include_once '../doc-typo3-funcs.php';
  $doxygen_vars = array(	"title" => "TYPO3 4.0.1: user_various Class Reference",
				"datetime" => "Sat Dec 2 19:27:30 2006",
				"date" => "2 Dec 2006",
				"doxygenversion" => "1.4.6",
				"projectname" => "TYPO3 4.0.1",
				"projectnumber" => "4.0.1"
			);
  get_header($doxygen_vars);
?>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>user_various Class Reference</h1><!-- doxytag: class="user_various" --><a href="classuser__various-members.html">List of all members.</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="classuser__various.html#5bb551d1abf3446f60a869bbf0ddc8ce">reverseString</a> ($content, $conf)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__various.html#b78755980c0c6e7902d00c5d3f7f7851">listContentRecordsOnPage</a> ($content, $conf)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__various.html#1d743c49d078ca66e5d9bfcd8c345d5a">selectThem</a> ($query)</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4534131dcf8c89c9efe43911ec3da27"></a><!-- doxytag: member="user_various::$cObj" ref="d4534131dcf8c89c9efe43911ec3da27" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__various.html#d4534131dcf8c89c9efe43911ec3da27">$cObj</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Example of calling a method in a PHP class from TypoScript 
<p>

<p>
Definition at line <a class="el" href="example__callfunction_8php-source.html#l00100">100</a> of file <a class="el" href="example__callfunction_8php-source.html">example_callfunction.php</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b78755980c0c6e7902d00c5d3f7f7851"></a><!-- doxytag: member="user_various::listContentRecordsOnPage" ref="b78755980c0c6e7902d00c5d3f7f7851" args="($content, $conf)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">user_various::listContentRecordsOnPage           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>content</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>conf</em></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>
Testing USER cObject:<p>
Example can be found in the testsite package at the page-path "/Intro/TypoScript examples/Custom Dynamic Co.../Calling a method.../" This TypoScript configuration will also demonstrate it:<p>
includeLibs.something = media/scripts/example_callfunction.php page = PAGE page.30 = USER page.30 { userFunc = user_various-&gt;listContentRecordsOnPage reverseOrder = 1 }<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>Empty string (no content to process) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>TypoScript configuration </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string HTML output, showing content elements (in reverse order if configured.) </dd></dl>

<p>
Definition at line <a class="el" href="example__callfunction_8php-source.html#l00140">140</a> of file <a class="el" href="example__callfunction_8php-source.html">example_callfunction.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="5bb551d1abf3446f60a869bbf0ddc8ce"></a><!-- doxytag: member="user_various::reverseString" ref="5bb551d1abf3446f60a869bbf0ddc8ce" args="($content, $conf)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">user_various::reverseString           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>content</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>conf</em></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>
Doing the same as user_reverseString() but with a class. Also demonstrates how this gives us the ability to use methods in the parent object.<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>String to process (from stdWrap) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>TypoScript properties passed on to this method. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string The input string reversed. If the TypoScript property "uppercase" was set it will also be in uppercase. May also be linked. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd>user_reverseString() </dd></dl>

<p>
Definition at line <a class="el" href="example__callfunction_8php-source.html#l00111">111</a> of file <a class="el" href="example__callfunction_8php-source.html">example_callfunction.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="1d743c49d078ca66e5d9bfcd8c345d5a"></a><!-- doxytag: member="user_various::selectThem" ref="1d743c49d078ca66e5d9bfcd8c345d5a" args="($query)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">user_various::selectThem           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>query</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>
Selecting the records by input $query and returning the header field values<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>SQL query selecting the content elements. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string The header field values of the content elements imploded by a <br>
 tag  private </dd></dl>

<p>
Definition at line <a class="el" href="example__callfunction_8php-source.html#l00159">159</a> of file <a class="el" href="example__callfunction_8php-source.html">example_callfunction.php</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>typo3_src-4.0.1/typo3/sysext/cms/tslib/media/scripts/<a class="el" href="example__callfunction_8php-source.html">example_callfunction.php</a></ul>
<?php
  include_once '../doc-typo3-funcs.php';
  get_footer();
?>