diff options
author | Silvio <silvio@devlet.com.br> | 2010-07-27 10:32:12 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-07-27 10:32:12 -0300 |
commit | 362ddf298200ee6a7dfcc535df48d22ee2478e9c (patch) | |
tree | cc47f870cbc2c68a9d7973cd08280532982e350b /classes/PhpIsisDb.php | |
parent | de0775587d0bd689f1d8e0053b6430451b5423be (diff) | |
download | cinisis-362ddf298200ee6a7dfcc535df48d22ee2478e9c.tar.gz cinisis-362ddf298200ee6a7dfcc535df48d22ee2478e9c.tar.bz2 |
Logging
Diffstat (limited to 'classes/PhpIsisDb.php')
-rw-r--r-- | classes/PhpIsisDb.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php index 4ff8c15..7bd2a75 100644 --- a/classes/PhpIsisDb.php +++ b/classes/PhpIsisDb.php @@ -22,6 +22,12 @@ class PhpIsisDb implements IsisDb { var $format; /** + * @var $log + * Class action log. + */ + var $log; + + /** * Constructor. * * @see IsisDb::__construct() @@ -139,4 +145,14 @@ class PhpIsisDb implements IsisDb { function charset(&$data) { $data = iconv($this->format['db']['charset'], 'UTF-8', $data); } + + /** + * Class logger. + * + * @param $message + * Log message. + */ + function logger($message) { + $this->log[] = $message; + } } |