From 6077ca6c75227ed5f7405f485be8b05bcaa1e070 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 14 Sep 2015 16:27:48 +0200 Subject: [PATCH] DbObject: add listProperties() method --- library/Director/Data/Db/DbObject.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/Director/Data/Db/DbObject.php b/library/Director/Data/Db/DbObject.php index 4393c6cf..35cb53ae 100644 --- a/library/Director/Data/Db/DbObject.php +++ b/library/Director/Data/Db/DbObject.php @@ -366,6 +366,11 @@ abstract class DbObject return $this->properties; } + public function listProperties() + { + return array_keys($this->properties); + } + /** * Return all properties that changed since object creation *