aboutsummaryrefslogtreecommitdiff
path: root/classes/PhpIsisDb.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/PhpIsisDb.php')
-rw-r--r--classes/PhpIsisDb.php16
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;
+ }
}