diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-28 22:11:02 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-28 22:11:02 +0000 |
commit | 832615bedb43b7ef15e0138bed10d09a61e23c09 (patch) | |
tree | 3cd16495e13a04cdc23a37e47db5ec1eb3f3c5a1 /engine/lib | |
parent | 8e8d3839196290b26099b852aadbdc345e25e490 (diff) | |
download | elgg-832615bedb43b7ef15e0138bed10d09a61e23c09.tar.gz elgg-832615bedb43b7ef15e0138bed10d09a61e23c09.tar.bz2 |
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
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/metadata.php | 26 |
1 files changed, 5 insertions, 21 deletions
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 */ |