diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/BiblioIsisDb.php | 3 | ||||
-rw-r--r-- | classes/MaleteDb.php | 16 | ||||
-rw-r--r-- | classes/PhpIsisDb.php | 16 |
3 files changed, 32 insertions, 3 deletions
diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php index 22586ed..eca03e5 100644 --- a/classes/BiblioIsisDb.php +++ b/classes/BiblioIsisDb.php @@ -50,9 +50,6 @@ class BiblioIsisDb implements IsisDb { * * @param $message * Log message. - * - * @todo - * Decide how logging should be implemented. */ function logger($message) { $this->log[] = $message; diff --git a/classes/MaleteDb.php b/classes/MaleteDb.php index 6b7b563..17cfdd2 100644 --- a/classes/MaleteDb.php +++ b/classes/MaleteDb.php @@ -28,6 +28,12 @@ class MaleteDb implements IsisDb { var $format; /** + * @var $log + * Class action log. + */ + var $log; + + /** * Constructor. * * @see IsisDb::__construct() @@ -142,4 +148,14 @@ class MaleteDb implements IsisDb { } return $data; } + + /** + * Class logger. + * + * @param $message + * Log message. + */ + function logger($message) { + $this->log[] = $message; + } } 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; + } } |