reseting errors
From: Mario Volke
Subject: reseting errors
Date: Tue, 31 Mar 2009 14:23:01 +0200
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
With an Arc Store we check for errors with the $store->getErrors()
method.<br>
Sometimes I want to delete all occured errors because they aren't
critical and my script can continue with other queries event if errors
occured.<br>
But then I need a method to reset the errors (s.th. like
$store->resetErrors()). But there's no such method.<br>
Atm I'm using $store->errors = array().<br>
But this isn't very elegant.<br>
<div class="moz-signature"><br>
<style type="text/css" media="all">
div#vcard {
margin-top:3em;
padding-top:1em;
border-top:1px solid #EEE;
font-family:"Lucida Sans Unicode","Lucida Grande",Verdana,Arial,sans-serif;
line-height:1.2em;
font-size:0.8em;
color:#555;
background-color:transparent;
}
div#vcard div.fn {
font-size:1.4em;
line-height:1.4em;
}
</style>
<div id="vcard">
<div class="fn">Mario Volke</div>
<div class="role"> web developer,<br>
web designer </div>
<br>
<a class="url" href="http://www.webholics.de">www.webholics.de</a><br>
<a class="email" href="http://www.webholics.de/kontakt/">mario.volke@webholics.de</a><br>
</div>
</div>
</body>
</html>