elgg_deprecated_notice("All list_entities* functions were deprecated in 1.8. Use elgg_list_entities* instead.", 1.8);
echo elgg_list_entities_from_access_id(array('access_id' => $access_id,
- 'types' => $entity_type, 'subtypes' => $entity_subtype, 'owner_guids' => $owner_guid,
+ 'types' => $entity_type, 'subtype' => $entity_subtype, 'owner_guids' => $owner_guid,
'limit' => $limit, 'full_view' => $fullview, 'list_type_toggle' => $listtypetoggle,
'pagination' => $pagination,));
}
'metadata_name' => $meta_name,
'metadata_value' => $meta_value,
'types' => $entity_type,
- 'subtypes' => $entity_subtype,
+ 'subtype' => $entity_subtype,
'limit' => $limit,
'offset' => $offset,
'count' => TRUE,
'relationship_guid' => $relationship_guid,
'inverse_relationship' => $inverse_relationship,
'types' => $type,
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'owner_guid' => $owner_guid,
'order_by' => $order_by,
'limit' => $limit,
'relationship_guid' => $owner_guid[0],
'inverse_relationship' => FALSE,
'type' => 'user',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => 9999))
) {
'relationship_guid' => $site_guid,
'inverse_relationship' => TRUE,
'type' => 'collection',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => $limit,
'offset' => $offset
));
'relationship_guid' => $site_guid,
'inverse_relationship' => TRUE,
'type' => 'object',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => $limit,
'offset' => $offset
));
'relationship' => 'friend',
'relationship_guid' => $user_guid,
'type' => 'user',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => $limit,
'offset' => $offset
));
'relationship_guid' => $user_guid,
'inverse_relationship' => TRUE,
'type' => 'user',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => $limit,
'offset' => $offset
));
$options = array(
'types' => $types,
- 'subtypes' => $subtype
+ 'subtype' => $subtype
);
$es = elgg_get_entities($options);
'metadata_name' => 'universal_categories',
'metadata_value' => $category,
'types' => $type,
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'owner_guid' => $owner_guid,
'limit' => $limit,
'full_view' => FALSE,
// List files
$content = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'file',
+ 'subtype' => 'file',
'container_guid' => $owner->guid,
'limit' => 10,
'full_view' => FALSE,
$params = array(
'type' => 'object',
- 'subtypes' => 'file',
+ 'subtype' => 'file',
'container_guid' => $page_owner_guid,
'limit' => $limit,
'full_view' => false,
$content = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'file',
+ 'subtype' => 'file',
'limit' => $limit,
'full_view' => FALSE
));
$content = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'page_top',
+ 'subtype' => 'page_top',
'container_guid' => elgg_get_page_owner_guid(),
'full_view' => false,
));
$content = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'page_top',
+ 'subtype' => 'page_top',
'full_view' => false,
));
if (!$content) {
* @package ElggReportedContent
*/
-$list = elgg_list_entities(array('type' => 'object', 'subtypes' => 'reported_content'));
+$list = elgg_list_entities(array('type' => 'object', 'subtype' => 'reported_content'));
if (!$list) {
$list = '<p class="mtm">' . elgg_echo('reportedcontent:none') . '</p>';
}
$list = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'reported_content',
+ 'subtype' => 'reported_content',
'limit' => $vars['entity']->num_display,
'pagination' => false,
));
//grab the user's latest from the wire
$params = array(
'type' => 'object',
- 'subtypes' => 'thewire',
+ 'subtype' => 'thewire',
'owner_guid' => $owner,
'limit' => 1,
);