2 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
23 function __construct($id, $code, $text, $codeType)
28 $this->codeType
= $codeType;
33 return $this->codeType
. ":" . $this->id
. " - " . $this->code
. " " . $this->text
;