| Current File : //opt/RZphp5/includes/doc/HTML_Progress2/docs/TDG/ch14s02.html |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>
Error Handling
</title>
<link rel="stylesheet" href="book.css" type="text/css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />
<link rel="start" href="index.html" title="HTML_Progress2 Manual" />
<link rel="up" href="ch14.html" title=
"Chapter 14. New Features in HTML_Progress2 " />
<link rel="prev" href="ch14.html" title=
"Chapter 14. New Features in HTML_Progress2 " />
<link rel="next" href="ch14s03.html" title="Reuse CSS" />
<style type="text/css">
/*<![CDATA[*/
body {
background-color: white;
color: black;
}
:link { color: #0000FF }
:visited { color: #840084 }
:active { color: #0000FF }
p.c2 {font-weight: bold}
h2.c1 {clear: both}
/*]]>*/
</style>
</head>
<body>
<table class="progress2Header">
<tr>
<td>
<img src="img/pear_progress2.gif" align="left" alt=
"PEAR Progress2 logo" />
<h1>
HTML_Progress2 : The Definitive Guide
</h1>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">
Error Handling
</th>
</tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="ch14.html">Prev</a>
</td>
<th width="60%" align="center">
Chapter 14. New Features in HTML_Progress2
</th>
<td width="20%" align="right">
<a accesskey="n" href="ch14s03.html">Next</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<h2 class="title c1">
<a name="id4799191" id="id4799191"></a>Error Handling
</h2>
</div>
<p>
Its not really a new feature but rather an improvement of source code
rewrites. All details are behind the reference guide, <a href=
"ch16.html" title="Chapter 16. Error Handler">Error
Handler</a> related part.
</p>
<p>
Here are the major changes to observe in a migration goal :
</p>
<div class="table">
<a name="id4799222" id="id4799222"></a>
<p class="title c2">
Table 14.1. Error Handling major changes
</p>
<table summary="Error Handling major changes" border="1">
<colgroup>
<col />
<col />
<col />
</colgroup>
<thead>
<tr>
<th></th>
<th>
HTML_Progress 1.x
</th>
<th>
HTML_Progress2
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
error protocol obey
</td>
<td>
error_reporting
</td>
<td>
display_errors, log_errors : <code class=
"filename">php.ini</code> directives
</td>
</tr>
<tr>
<td>
raiseError return values
</td>
<td>
<code class="classname">PEAR_Error</code> | <code class=
"constant">NULL</code> | <code class="constant">FALSE</code>
</td>
<td>
<code class="classname">HTML_Progress2_Error</code> | array()
</td>
</tr>
</tbody>
</table>
</div>
</div>
<table class="progress2Footer">
<tr>
<td align="left">
HTML_Progress2 : The Definitive Guide
</td>
<td align="right">
v 2.4.0 : April 20, 2007
</td>
</tr>
</table>
<div class="navfooter">
<hr />
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="ch14.html">Prev</a>
</td>
<td width="20%" align="center">
<a accesskey="u" href="ch14.html">Up</a>
</td>
<td width="40%" align="right">
<a accesskey="n" href="ch14s03.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">
Chapter 14. New Features in HTML_Progress2
</td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">Home</a>
</td>
<td width="40%" align="right" valign="top">
Reuse CSS
</td>
</tr>
</table>
</div>
</body>
</html>