summaryrefslogtreecommitdiffstats
path: root/db/folder.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2013-03-02 19:50:33 +0100
committerAlessandro Cosentino <cosenal@gmail.com>2013-03-02 19:50:33 +0100
commit4902253e9c8aac706091c6337391153b02923689 (patch)
tree3012e106d477a83e718ea42741c445895922df8e /db/folder.php
parent165540d34652fb895cb7f29c818fb3427bfba8c4 (diff)
prototype for business layer for feed
Diffstat (limited to 'db/folder.php')
-rw-r--r--db/folder.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/folder.php b/db/folder.php
index 2e3c96a7c..23d33737f 100644
--- a/db/folder.php
+++ b/db/folder.php
@@ -71,6 +71,9 @@ class Folder extends Collection {
return $this->children;
}
-
+ public function jsonSerialize() {
+ //TODO: this is just for test
+ return $this->name;
+ }
} \ No newline at end of file