Location: PHPKode > scripts > PTAG > ptag/TagLibs.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Generated with PHPDoc, http://www.phpdoc.de -->
<html>
<head>
	<title>PEAR Repository - TagLibs - Class: TagLibs</title>
	<link href="phpdoc.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0">
	<tr>
		<td align="left" valign="top" bgcolor="#B0BAFF">			
			<table width="100%">
				<tr>
					<td align="left" valign="top"><a href="phpdoc_packagelist.html">Packageindex</a></td>
					<td align="left" valign="top"><a href="phpdoc_classtree.html">Classtrees</a></td>
					<td align="left" valign="top"><a href="phpdoc_modulegroup.html">Modulegroups</a></td>
					<td align="left" valign="top"><a href="phpdoc_elementlist.html">Elementlist</a></td>
					<td align="left" valign="top"><a href="phpdoc_warnings.html">Report</a></td>
					<td align="left" valign="top"><a href="phpdoc_xmlfiles.html">XML Files</a></td>
				</tr>
			</table>	
		</td>
	</tr>
	<tr>	
		<td height="20" align="left" valign="top"><hr></td>
	</tr>
	<tr>
		<td align="left" valign="top">			
			File: <a href="file://w:/internet/wwwroot/classes/TagLibs/TagLibs.php" target="_new">w:/internet/wwwroot/classes/TagLibs/TagLibs.php</a>
			<h5>PEAR Repository - TagLibs</h5>
			<h1>TagLibs</h1>
			TagLibs<br>
			<p>
			Liest ein Template ein, wertet es aus und führt die darin enthaltenen TagLibs aus.
			<p>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td align="left" valign="top">
			<h4>public    class TagLibs </h4>
			Liest ein Template ein, wertet es aus und führt die darin enthaltenen TagLibs aus.
			<br>
			A Template reads one, it evaluates and exports the TagLibs contained in this.
			<p>
			<table>
				
				
				<tr><td align="left" valign="top">Authors</td><td align="left" valign="top">Reiner Entzminger &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td></tr>
				
				<tr><td align="left" valign="top">Version</td><td align="left" valign="top">1.00.0001 03/20/2002 23:30</td></tr>
				
				
				
			</table>
		</td>
	</tr>
	<tr>
		<td height="10" align="left" valign="top">&nbsp;</td>
	</tr>
	
	<tr>
		<td height="20" align="left" valign="top"><hr></td>
	</tr>
	
	
	<tr>
		<td align="left" valign="top">		
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Public Method Summary</h2></td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_TagLibs()"><h4>TagLibs(string $filename)</h4></a>TagLibs Konstruktor der Klasse (Constructor of the class)</td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	<tr>
		<td align="left" valign="top">		
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Method Summary</h2></td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_parse()"><h4>parse()</h4></a>parse Diese Methode parst das Template und merkt sich die Taglibs</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">array</td>
					<td align="left" valign="top" width="100%"><a href="#function_splitTag()"><h4>splitTag()</h4></a>splitTag Durchsucht das Template nach TagLibs und gibt das zuletzt gefundene</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">integer</td>
					<td align="left" valign="top" width="100%"><a href="#function_strlpos()"><h4>strlpos(string $haystack, string $needle)</h4></a>strlpos Ermittelt die Position des letzten Vorkommens von needle in dem String haystack</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">string</td>
					<td align="left" valign="top" width="100%"><a href="#function_analyzeTag()"><h4>analyzeTag(string $tag)</h4></a>analyzeTag Analysiert das übergebene Tag, ermittelt die Parameter und ruft in</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_includes()"><h4>includes(string $class)</h4></a>includes Schließt die notwendigen Tag-Klassen in das Projekt ein.</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_registere()"><h4>registere(string $class)</h4></a>registere Registriert die notwendigen Tag-Klassen</td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	
	
	<tr>
		<td align="left" valign="top">		
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Field Summary</h2></td>
				</tr>
				
				<tr>
					<td align="right" valign="top">string</td>
					<td align="left" valign="top" width="100%"><a href="#variable_$template"><h4>$template</h4></a></td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td align="left" valign="top" colspan=3><h3>Private Constant Summary</h3></td>
				</tr>
				
				<tr>
					<td align="left" valign="top"><a href="#constants_TAGLIB_HOME">TAGLIB_HOME</a></td>
					<td align="left" valign="top">>><code>TagLibs/</code><<</td>
					<td align="left" valign="top" width="100%"></td>
				</tr>
				
				<tr>
					<td align="left" valign="top"><a href="#constants_TAGLIB_EXT">TAGLIB_EXT</a></td>
					<td align="left" valign="top">>><code>.php</code><<</td>
					<td align="left" valign="top" width="100%"></td>
				</tr>
				
				<tr>
					<td align="left" valign="top"><a href="#constants_OBJ_TAGLIBS">OBJ_TAGLIBS</a></td>
					<td align="left" valign="top">>><code>taglibs</code><<</td>
					<td align="left" valign="top" width="100%"></td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td align="left" valign="top" colspan=2><h3>Included files Summary, Type: include_once</h3></td>
				</tr>
				
				<tr>
					<td align="left" valign="top"><a href="#uses_$tagfile">$tagfile</a></td>
					<td align="left" valign="top" width="100%"><a href="#uses_$tagfile">Warning: documentation is missing.</a></td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Public Method Details</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_TagLibs()"><h4>TagLibs</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>public    void TagLibs( string $filename )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						TagLibs Konstruktor der Klasse (Constructor of the class)
						<br>
						
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$filename</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top">Dateiname des Templates (File name of the Templates)</td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Method Details</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_parse()"><h4>parse</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    void parse(  )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						parse Diese Methode parst das Template und merkt sich die Taglibs
						<br>
						(This method parst of the Template and remembers the Taglibs)
						<p>
						
					</td>
				</tr>
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_splitTag()"><h4>splitTag</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    array splitTag(  )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						splitTag Durchsucht das Template nach TagLibs und gibt das zuletzt gefundene
						<br>
						Taglib sowie den Text davor und danach in einer Tabelle zurück.(The Template searches for TagLibs and this gives found Taglib as well as thetext back in front of this and after which in a table last.)
						<p>
						
					</td>
				</tr>
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>array <p>Das gefundene TagLib sowie den Text davor und danach<br>
(The found TagLib as well as the text in front of this and after this.)</td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_strlpos()"><h4>strlpos</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    integer strlpos( string $haystack, string $needle )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						strlpos Ermittelt die Position des letzten Vorkommens von needle in dem String haystack
						<br>
						(The item of the last occurrence of needle determines haystack in the string)
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$haystack</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top">Der String, der zu durchsuchen ist (The string which has to be searched)</td>
							</tr>
						</table>
					</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$needle</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top">Der zu suchende String (The string to be looked)</td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>integer <p>Position des letzten Vorkommens des zu suchenden Strings (Item of the last occurrence for<br>
the string to be looked)</td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_analyzeTag()"><h4>analyzeTag</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    string analyzeTag( string $tag )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						analyzeTag Analysiert das übergebene Tag, ermittelt die Parameter und ruft in
						<br>
						der Tag-Klasse die &quot;seter&quot;, sowie die &quot;doStartTag&quot; und &quot;doEndeTag&quot; Methoden auf.(This analyzes, submitted day as well as the &quot;doStartTag&quot; and &quot;doEndeTag&quot; methodsdetermines the parameters and &quot;set he&quot; calls this one in the day class.)
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$tag</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top">Der zu analysierende Tag (The Tag to be analyzed)</td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>string <p>Der durch eine Tag-Klasse geänderte Tag ohne Anfang- und Ende-Tag (The tag without<br>
beginning changed by a tag class and end tag)</td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_includes()"><h4>includes</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    void includes( string $class )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						includes Schließt die notwendigen Tag-Klassen in das Projekt ein.
						<br>
						(includes the necessary tag classes in the project.)
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$class</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top">Name der Tag-Klassen (Name of the tag classes)</td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_registere()"><h4>registere</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    void registere( string $class )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						registere Registriert die notwendigen Tag-Klassen
						<br>
						(Register the necessary tag classes)
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$class</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top">Name der Tag-Klassen (Name of the tag classes)</td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
		
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Field Details</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="variable_$template"><h4>$template</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private   string $template</b>
						<p>
						>><code>''</code><<
						<p>
						
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
		
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Constant Details</h2></td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">
						<a name="constant_TAGLIB_HOME"><h4>TAGLIB_HOME</h4></a>
						<code>define( TAGLIB_HOME, >>TagLibs/<< )</code><br>
						Case: default: case sensitive
						<p>
						
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">
						<a name="constant_TAGLIB_EXT"><h4>TAGLIB_EXT</h4></a>
						<code>define( TAGLIB_EXT, >>.php<< )</code><br>
						Case: default: case sensitive
						<p>
						
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">
						<a name="constant_OBJ_TAGLIBS"><h4>OBJ_TAGLIBS</h4></a>
						<code>define( OBJ_TAGLIBS, >>taglibs<< )</code><br>
						Case: default: case sensitive
						<p>
						
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
	
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Included Files, Type: include_once</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="uses_$tagfile"><h4>$tagfile</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>include_once( $tagfile )</b>
						<p>
						
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
	
	<tr>
		<td height="10" align="left" valign="top"><hr></td>
	</tr>
	<tr>
		<td align="left" valign="top" bgcolor="#C0C0C0">			
			<table>
				<tr>
					<td align="left" valign="top"><a href="phpdoc_packagelist.html">Packageindex</a></td>
					<td align="left" valign="top"><a href="phpdoc_classtree.html">Classtrees</a></td>
					<td align="left" valign="top"><a href="phpdoc_modulegroup.html">Modulegroups</a></td>
					<td align="left" valign="top"><a href="phpdoc_elementlist.html">Elementlist</a></td>
					<td align="left" valign="top"><a href="phpdoc_warnings.html">Report</a></td>
					<td align="left" valign="top"><a href="phpdoc_xmlfiles.html">XML Files</a></td>
				</tr>
			</table>	
		</td>
	</tr>
	<tr>
		<td align="left" valign="top">PHPDoc 1.0beta</td>
	</tr>
</table>

</body>
</html>
Return current item: PTAG