mod/gc_mobile_api/models/doc.php 1 location
|
@@ 119-126 (lines=8) @@
|
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
$all_docs = elgg_list_entities_from_metadata($params); |
| 119 |
|
} else { |
| 120 |
|
$all_docs = elgg_list_entities(array( |
| 121 |
|
'type' => 'object', |
| 122 |
|
'subtypes' => array('etherpad', 'subpad'), |
| 123 |
|
'limit' => $limit, |
| 124 |
|
'offset' => $offset |
| 125 |
|
)); |
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
$docs = json_decode($all_docs); |
| 129 |
|
|
mod/gc_mobile_api/models/blog.php 1 location
|
@@ 310-318 (lines=9) @@
|
| 307 |
|
} |
| 308 |
|
|
| 309 |
|
$all_blog_posts = elgg_list_entities_from_metadata($params); |
| 310 |
|
} else { |
| 311 |
|
$all_blog_posts = elgg_list_entities(array( |
| 312 |
|
'type' => 'object', |
| 313 |
|
'subtype' => 'blog', |
| 314 |
|
'owner_guid' => $target_entity->guid, |
| 315 |
|
'limit' => $limit, |
| 316 |
|
'offset' => $offset |
| 317 |
|
)); |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
$blog_posts = json_decode($all_blog_posts); |
| 321 |
|
|