Page MenuHomeCode

html__parse_8inc_8php.html
No OneTemporary

html__parse_8inc_8php.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>hotglue: /srv/www/sukzessiv.net/hotglue3/html_parse.inc.php File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>/srv/www/sukzessiv.net/hotglue3/html_parse.inc.php File Reference</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="html__parse_8inc_8php.html#7eda4037f4b2576b3bcd97408ff95bd5">html_encode_str_smart</a> ($html)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="html__parse_8inc_8php.html#1003b146f08aef5a3a78d75a3538a4d7">html_parse</a> ($html, $recursive=false)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="html__parse_8inc_8php.html#6d9c21ee610953fb5b5b64fae3f74ed3">html_parse_elem</a> ($html, $recursive=false)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="7eda4037f4b2576b3bcd97408ff95bd5"></a><!-- doxytag: member="html_parse.inc.php::html_encode_str_smart" ref="7eda4037f4b2576b3bcd97408ff95bd5" args="($html)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">html_encode_str_smart </td>
<td>(</td>
<td class="paramtype">$&nbsp;</td>
<td class="paramname"> <em>html</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="html__parse_8inc_8php.html">html_parse.inc.php</a> Generic html parsing functions<p>
Copyright Gottfried Haider, Danja Vasiliev 2010. This source code is licensed under the GNU General Public License. See the file COPYING for more details.
</div>
</div><p>
<a class="anchor" name="1003b146f08aef5a3a78d75a3538a4d7"></a><!-- doxytag: member="html_parse.inc.php::html_parse" ref="1003b146f08aef5a3a78d75a3538a4d7" args="($html, $recursive=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">html_parse </td>
<td>(</td>
<td class="paramtype">$&nbsp;</td>
<td class="paramname"> <em>html</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&nbsp;</td>
<td class="paramname"> <em>recursive</em> = <code>false</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
parse a string containing html elements<p>
this function decodes html's special characters except for the content (when it too is not being parsed). this function is more fragile than <a class="el" href="html__parse_8inc_8php.html#6d9c21ee610953fb5b5b64fae3f74ed3">html_parse_elem()</a> when it comes to malformatted input. <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>$html input string </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bool</em>&nbsp;</td><td>$recursive also parse children elements </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>array parsed representation </dd></dl>
</div>
</div><p>
<a class="anchor" name="6d9c21ee610953fb5b5b64fae3f74ed3"></a><!-- doxytag: member="html_parse.inc.php::html_parse_elem" ref="6d9c21ee610953fb5b5b64fae3f74ed3" args="($html, $recursive=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">html_parse_elem </td>
<td>(</td>
<td class="paramtype">$&nbsp;</td>
<td class="paramname"> <em>html</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&nbsp;</td>
<td class="paramname"> <em>recursive</em> = <code>false</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
parse exactly one html element<p>
this function decodes html's special characters except for the content (when it too is not being parsed). this function is less fragile than <a class="el" href="html__parse_8inc_8php.html#1003b146f08aef5a3a78d75a3538a4d7">html_parse()</a> when it comes to malformatted input. <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>$html input string (must start and end with the element's tag) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bool</em>&nbsp;</td><td>$recursive also parse children elements </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>array parsed representation </dd></dl>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Dec 2 16:37:34 2010 for hotglue by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>

File Metadata

Mime Type
text/html
Expires
Fri, Jun 20, 13:18 (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
21867
Default Alt Text
html__parse_8inc_8php.html (6 KB)

Event Timeline