From 832615bedb43b7ef15e0138bed10d09a61e23c09 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 28 Oct 2009 22:11:02 +0000 Subject: Actually fixed the documentation for elgg_get_entities_from_metadata(). git-svn-id: http://code.elgg.org/elgg/trunk@3598 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'engine') diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 9af0acdc8..1d6fc59f4 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -539,31 +539,15 @@ function find_metadata($meta_name = "", $meta_value = "", $entity_type = "", $en * * @param array $options Array in format: * - * types => NULL|STR entity type + * names => NULL|ARR metadata names * - * subtypes => NULL|STR entity subtype + * values => NULL|ARR metadata values * - * type_subtype_pairs => NULL|ARR (type = '$type' AND subtype = '$subtype') pairs + * name_value_pairs => NULL|ARR (name = 'name', value => 'value', 'operand' => 'AND', 'case_sensitive' => TRUE) entries * - * owner_guids => NULL|INT entity guid + * name_value_pairs_operator => NULL|STR The operator to use for combining (name = value) OPERATOR (name = value) * - * container_guids => NULL|INT container_guid - * - * site_guids => NULL (current_site)|INT site_guid - * - * order_by => NULL (time_created desc)|STR SQL order by clause - * - * limit => NULL (10)|INT SQL limit clause - * - * offset => NULL (0)|INT SQL offset clause - * - * time_lower => NULL|INT Time lower boundary in epoch time - * - * time_upper => NULL|INT Time upper boundary in epoch time - * - * count => TRUE|FALSE return a count instead of entities - * - * case_sensitive => TRUE|FALSE case sensitive metadata names + * case_sensitive => BOOL Overal Case sensitive * * @return array */ -- cgit v1.2.3