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:
parent
0cb27fa77f
commit
c33c72e5af
4 changed files with 210 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue