diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-30 14:08:36 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-30 14:08:36 -0400 |
commit | fd5b815e587ccc3642995346cd03eca4e0a0707f (patch) | |
tree | 2cc9bdf3de5e45b8f23e96673f4d8625651f81df /lib/folder.php | |
parent | a5438863a4e88fb5c9e166e8810f493a1feb2cf0 (diff) |
opml parser completed; still needs testing
Diffstat (limited to 'lib/folder.php')
-rw-r--r-- | lib/folder.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/folder.php b/lib/folder.php index 6654b2f5e..14951d57c 100644 --- a/lib/folder.php +++ b/lib/folder.php @@ -48,7 +48,11 @@ class OC_News_Folder extends OC_News_Collection { public function addChild(OC_News_Collection $child){ $this->children[] = $child; } - + + public function addChildren($children){ + $this->children = $children; + } + public function getChildren(){ return $this->children; } |