public function getCollectionsAtom($r) { if ($r->get('get_all')) { $public_only = false; } else { $public_only = true; } $r->renderResponse(Dase_DBO_Collection::listAsAtom($this->db, $r->app_root, $public_only)); }