Updates to the cart and started adding the gateway classes for payment gateways.

git-svn-id: http://svn.cleancode.org/svn/pickles@92 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
Josh Sherman 2009-02-17 04:05:53 +00:00
parent 0cb27fa77f
commit c33c72e5af
4 changed files with 210 additions and 3 deletions

View file

@ -18,7 +18,7 @@
* <http://www.gnu.org/licenses/>.
*
* @author Joshua John Sherman <josh@phpwithpickles.org>
* @copyright Copyright 2007, 2008 Joshua John Sherman
* @copyright Copyright 2007, 2008, 2009 Joshua John Sherman
* @link http://phpwithpickles.org
* @license http://www.gnu.org/copyleft/lesser.html
* @package PICKLES
@ -73,6 +73,16 @@ class Error extends Object {
public function getErrors() {
return $this->errors;
}
/**
* Resets the stored errors
*
* @return boolean true
*/
public function resetErrors() {
$this->errors = null;
return true;
}
/**
* Gets the stored warnings