summaryrefslogtreecommitdiffstats
path: root/db/feed.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/feed.php
parent8e1e0f5281c1ee49fe7f6d84ba8f2b709ebf7f40 (diff)
added casting information for data objects
Diffstat (limited to 'db/feed.php')
-rw-r--r--db/feed.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/feed.php b/db/feed.php
index da2a2d904..f337448a4 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -39,4 +39,11 @@ class Feed extends Entity {
public $folderId;
public $unreadCount;
+ public function __construct(){
+ $this->addType('parentId', 'int');
+ $this->addType('added', 'int');
+ $this->addType('folderId', 'int');
+ $this->addType('unreadCount', 'int');
+ }
+
} \ No newline at end of file