toggle_collapse_cat($this->link, $cat_id, $mode);\r
}\r
\r
- function index() {\r
- $root = (bool)$_REQUEST["root"];\r
-\r
- if (!$root) {\r
- print json_encode($this->outputFeedList($this->link));\r
- } else {\r
-\r
- $feeds = $this->outputFeedList($this->link, false);\r
-\r
- $root = array();\r
- $root['id'] = 'root';\r
- $root['name'] = __('Feeds');\r
- $root['items'] = $feeds['items'];\r
-\r
- $fl = array();\r
- $fl['identifier'] = 'id';\r
- $fl['label'] = 'name';\r
- $fl['items'] = array($root);\r
-\r
- print json_encode($fl);\r
- }\r
- }\r
-\r
function view() {\r
$timing_info = getmicrotime();\r
\r