<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: user_wapversion 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 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 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> <u>S</u>earch for </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 List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <h1>user_wapversion Class Reference</h1><!-- doxytag: class="user_wapversion" --><a href="classuser__wapversion-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#8cb224df9e614c7297a51dcb53e3f86e">main_wapversion</a> ($content, $conf)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#f203e9b48c09c16badcf15bf66114c85">contentAbstract</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#bed3fe7efb32a4414dd89ac3088ecc6f">contentAll</a> ($chunkLgd=850)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#4c652af973694fe721aeacbf29384e1a">cHeader</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#1c70754883835b606c65afa46380407d">cBodytext</a> ($str, $start=0, $max=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#057b6b153431a1f3ffd9252aec92b709">nl2br</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#0322dd1e4af398cf92889e9ebe7ee6c0">getContentResult</a> ($table)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#01cff6f9bcbd603db203282fa1ea9040">bold</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#9f04e134db8e60b75ad48d74e307b94b">paragraph</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#27b3cb79d598c35d5bfafb58845f8cda">line</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#e59c4f9a4f7cfc97c6293c4f176a80e6">navLink</a> ($str, $pointer)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#76a15fa13a98f2ed6c31839f297d006e">menuCurrentLevel</a> ($indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#a0d7db8376ea073ac007d7893c8335e6">link</a> ($str, $id, $deck='')</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#f1c5cd918a9d238d53b390680d2149b4">cleanMenuArray</a> ($menu)</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="3042d7d77ebc22a90f03122826bb6e35"></a><!-- doxytag: member="user_wapversion::$cObj" ref="3042d7d77ebc22a90f03122826bb6e35" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#3042d7d77ebc22a90f03122826bb6e35">$cObj</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07b2ebe10eda542e92329de8e7329acf"></a><!-- doxytag: member="user_wapversion::$idx" ref="07b2ebe10eda542e92329de8e7329acf" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuser__wapversion.html#07b2ebe10eda542e92329de8e7329acf">$idx</a> = 0</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00129">129</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>.<hr><h2>Member Function Documentation</h2> <a class="anchor" name="01cff6f9bcbd603db203282fa1ea9040"></a><!-- doxytag: member="user_wapversion::bold" ref="01cff6f9bcbd603db203282fa1ea9040" args="($str)" --><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_wapversion::bold </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Simulates bold type - basically setting it in uppercase<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> </td><td>The string for format in "bold" (uppercase) </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string Processed output. </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00329">329</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00277">cHeader()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00200">contentAbstract()</a>. </td> </tr> </table> <a class="anchor" name="1c70754883835b606c65afa46380407d"></a><!-- doxytag: member="user_wapversion::cBodytext" ref="1c70754883835b606c65afa46380407d" args="($str, $start=0, $max=0)" --><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_wapversion::cBodytext </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>start</em> = <code>0</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>max</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Formats the bodytext for a content element<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> </td><td>The bodytext content </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>Position where to start in the bodytext stream. If larger than zero a prefix, "...", is prepended. </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>Max length </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string Prepared content </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classuser__wapversion.html#bed3fe7efb32a4414dd89ac3088ecc6f">contentAll()</a> </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00291">291</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l00499">t3lib_div::fixed_lgd()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00303">nl2br()</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00217">contentAll()</a>. </td> </tr> </table> <a class="anchor" name="4c652af973694fe721aeacbf29384e1a"></a><!-- doxytag: member="user_wapversion::cHeader" ref="4c652af973694fe721aeacbf29384e1a" args="($str)" --><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_wapversion::cHeader </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Formats the header for a content element<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> </td><td>Header value to format </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string Returns the formatted version, stripped from tags and htmlspecialchar()'ed </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classuser__wapversion.html#bed3fe7efb32a4414dd89ac3088ecc6f">contentAll()</a> </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00277">277</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> References <a class="el" href="wapversionLib_8inc-source.html#l00329">bold()</a>. </td> </tr> </table> <a class="anchor" name="f1c5cd918a9d238d53b390680d2149b4"></a><!-- doxytag: member="user_wapversion::cleanMenuArray" ref="f1c5cd918a9d238d53b390680d2149b4" args="($menu)" --><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_wapversion::cleanMenuArray </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>menu</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Cleaning up the menu array returned from sys_page->getMenu(). Removing page types with doktype "5" (not in 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>array</em> </td><td>Menu item array </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array New menu item array with doktype-5 elements removed. </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00421">421</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00370">menuCurrentLevel()</a>. </td> </tr> </table> <a class="anchor" name="f203e9b48c09c16badcf15bf66114c85"></a><!-- doxytag: member="user_wapversion::contentAbstract" ref="f203e9b48c09c16badcf15bf66114c85" args="()" --><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_wapversion::contentAbstract </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Getting abstract of the first content elements header and bodytext for the menu<p> <dl compact><dt><b>Returns:</b></dt><dd>string WML string </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00200">200</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> References <a class="el" href="wapversionLib_8inc-source.html#l00329">bold()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l00499">t3lib_div::fixed_lgd()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00314">getContentResult()</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00141">main_wapversion()</a>. </td> </tr> </table> <a class="anchor" name="bed3fe7efb32a4414dd89ac3088ecc6f"></a><!-- doxytag: member="user_wapversion::contentAll" ref="bed3fe7efb32a4414dd89ac3088ecc6f" args="($chunkLgd=850)" --><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_wapversion::contentAll </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>chunkLgd</em> = <code>850</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns all page content, but in an array where the content is divided into chunks or a max length (for WAP clients with limited memory capabilities) Content is then displayed using the pointer value found in $GLOBALS['TSFE']->idParts[1], see <a class="el" href="classuser__wapversion.html#8cb224df9e614c7297a51dcb53e3f86e">main_wapversion()</a><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>integer</em> </td><td>Max length of each content chunk </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array Array with the page content divided into chucks WML code (default length equals $chunkLgd; 850) </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classuser__wapversion.html#8cb224df9e614c7297a51dcb53e3f86e">main_wapversion()</a> </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00217">217</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> References <a class="el" href="wapversionLib_8inc-source.html#l00132">$idx</a>, <a class="el" href="wapversionLib_8inc-source.html#l00291">cBodytext()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00314">getContentResult()</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00141">main_wapversion()</a>. </td> </tr> </table> <a class="anchor" name="0322dd1e4af398cf92889e9ebe7ee6c0"></a><!-- doxytag: member="user_wapversion::getContentResult" ref="0322dd1e4af398cf92889e9ebe7ee6c0" args="($table)" --><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_wapversion::getContentResult </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>table</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Selects all records from $table having the current page id as PID (records belonging to that page) Used to select content elements from "tt_content"<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> </td><td>A tablename found in $TCA </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>pointer A database resource pointer </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00314">314</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00200">contentAbstract()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00217">contentAll()</a>. </td> </tr> </table> <a class="anchor" name="27b3cb79d598c35d5bfafb58845f8cda"></a><!-- doxytag: member="user_wapversion::line" ref="27b3cb79d598c35d5bfafb58845f8cda" args="($str)" --><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_wapversion::line </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Adds a linebreak character to the end of $str<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> </td><td>The string/line </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string The input string with '<br> ' prepended </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00349">349</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. </td> </tr> </table> <a class="anchor" name="a0d7db8376ea073ac007d7893c8335e6"></a><!-- doxytag: member="user_wapversion::link" ref="a0d7db8376ea073ac007d7893c8335e6" args="($str, $id, $deck='')" --><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_wapversion::link </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>deck</em> = <code>''</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates a link around the input string to another page/deck Used to create menus<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> </td><td>The string to be wrapped in tags </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>The page id to link to </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>The deck name, if any </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string String wrapped in tags </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classuser__wapversion.html#76a15fa13a98f2ed6c31839f297d006e">menuCurrentLevel()</a> </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00405">405</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00370">menuCurrentLevel()</a>. </td> </tr> </table> <a class="anchor" name="8cb224df9e614c7297a51dcb53e3f86e"></a><!-- doxytag: member="user_wapversion::main_wapversion" ref="8cb224df9e614c7297a51dcb53e3f86e" 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_wapversion::main_wapversion </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </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>$ </td> <td class="mdname" nowrap> <em>conf</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Main function, called from TypoScript<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> </td><td>Empty, ignore. </td></tr> <tr><td valign="top"></td><td valign="top"><em>array</em> </td><td>TypoScript properties for this content object/function call </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string WML content </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00141">141</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> References <a class="el" href="wapversionLib_8inc-source.html#l00200">contentAbstract()</a>, <a class="el" href="wapversionLib_8inc-source.html#l00217">contentAll()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l00894">t3lib_div::intInRange()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l03996">t3lib_div::makeInstanceClassName()</a>, <a class="el" href="wapversionLib_8inc-source.html#l00370">menuCurrentLevel()</a>, <a class="el" href="wapversionLib_8inc-source.html#l00360">navLink()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00339">paragraph()</a>. </td> </tr> </table> <a class="anchor" name="76a15fa13a98f2ed6c31839f297d006e"></a><!-- doxytag: member="user_wapversion::menuCurrentLevel" ref="76a15fa13a98f2ed6c31839f297d006e" args="($indent)" --><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_wapversion::menuCurrentLevel </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>indent</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates a menu for the current pagelevel. Navigation is both a path-menu (rootline) and a menu of current page subpages.<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> </td><td>Indentation prefix string per menu item. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string A paragraph with the menu items inside. </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00370">370</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> References <a class="el" href="wapversionLib_8inc-source.html#l00421">cleanMenuArray()</a>, <a class="el" href="wapversionLib_8inc-source.html#l00405">link()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00339">paragraph()</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00141">main_wapversion()</a>. </td> </tr> </table> <a class="anchor" name="e59c4f9a4f7cfc97c6293c4f176a80e6"></a><!-- doxytag: member="user_wapversion::navLink" ref="e59c4f9a4f7cfc97c6293c4f176a80e6" args="($str, $pointer)" --><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_wapversion::navLink </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>pointer</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates a navigation link to the next part of the page content!<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> </td><td>The link text </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>The pointer value </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string The input string, linked with the pointer value to the current page. </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00360">360</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00141">main_wapversion()</a>. </td> </tr> </table> <a class="anchor" name="057b6b153431a1f3ffd9252aec92b709"></a><!-- doxytag: member="user_wapversion::nl2br" ref="057b6b153431a1f3ffd9252aec92b709" args="($str)" --><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_wapversion::nl2br </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Local version of ml2br(). Replaces linebreaks with <br> tags.<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> </td><td>The input string to process </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string The processed value returned. </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00303">303</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00291">cBodytext()</a>. </td> </tr> </table> <a class="anchor" name="9f04e134db8e60b75ad48d74e307b94b"></a><!-- doxytag: member="user_wapversion::paragraph" ref="9f04e134db8e60b75ad48d74e307b94b" args="($str)" --><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_wapversion::paragraph </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Wraps a string in<p> ... tags<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> </td><td>The input string </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string The wrapped string </dd></dl> <p> Definition at line <a class="el" href="wapversionLib_8inc-source.html#l00339">339</a> of file <a class="el" href="wapversionLib_8inc-source.html">wapversionLib.inc</a>. <p> Referenced by <a class="el" href="wapversionLib_8inc-source.html#l00141">main_wapversion()</a>, and <a class="el" href="wapversionLib_8inc-source.html#l00370">menuCurrentLevel()</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="wapversionLib_8inc-source.html">wapversionLib.inc</a></ul> <?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>