]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated docs for types and subtypes in elgg_get_entities().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 17 Apr 2010 23:11:30 +0000 (23:11 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 17 Apr 2010 23:11:30 +0000 (23:11 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5796 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/entities.php

index fcdc1ee6c5cbfe2c667cd092f8271a239549a4e6..56d6b17490c85a4e026f3eccdfed9b702b1decd4 100644 (file)
@@ -1747,9 +1747,9 @@ function get_entity($guid) {
  *
  * @param array $options Array in format:
  *
- *     types => NULL|STR entity type (SQL: type = '$type' OR...see below...)
+ *     types => NULL|STR entity type (SQL: type IN ('type1', 'type2') Joined with subtypes by AND...see below)
  *
- *     subtypes => NULL|STR entity subtype (SQL: subtype = '$subtype'...see above)
+ *     subtypes => NULL|STR entity subtype (SQL: subtype IN ('subtype1', 'subtype2))
  *
  *     type_subtype_pairs => NULL|ARR (array('type' => 'subtype')) (SQL: type = '$type' AND subtype = '$subtype') pairs
  *