summaryrefslogtreecommitdiffstats
path: root/db/folder.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:04:02 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:04:02 +0100
commitc8d3f8fb4681f6993f1c9389e507df0724f56579 (patch)
tree312b48cdbc17c23d1e7aac6513f40e0a5813fdbf /db/folder.php
parent8e1e0f5281c1ee49fe7f6d84ba8f2b709ebf7f40 (diff)
added casting information for data objects
Diffstat (limited to 'db/folder.php')
-rw-r--r--db/folder.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/folder.php b/db/folder.php
index aa5cf66a9..adc4a8572 100644
--- a/db/folder.php
+++ b/db/folder.php
@@ -35,4 +35,9 @@ class Folder extends Entity {
public $userId;
public $opened;
+ public function __construct(){
+ $this->addType('parentId', 'int');
+ $this->addType('opened', 'bool');
+ }
+
} \ No newline at end of file