summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-09-10 11:23:12 -0400
committerDries Buytaert <dries@buytaert.net>2011-09-10 11:23:12 -0400
commit0d80dee9c89e0d8fd5e292b9e78ed2899c6c2ae1 (patch)
treeba592a1e0f5b6e588a9e426480a418b54f570f38
parent40f9532922ad3b7565057c55d2aeb369f7777073 (diff)
downloadbrdo-0d80dee9c89e0d8fd5e292b9e78ed2899c6c2ae1.tar.gz
brdo-0d80dee9c89e0d8fd5e292b9e78ed2899c6c2ae1.tar.bz2
- Patch #1273444 by Xano: Missing operator docs for EntityFieldQuery's propertyCondition() and addFieldCondition().
-rw-r--r--includes/entity.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/entity.inc b/includes/entity.inc
index 67225bc7e..8ea83a88e 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -613,6 +613,8 @@ class EntityFieldQuery {
* literals of the same type as the column.
* - 'BETWEEN': This operator expects $value to be an array of two literals
* of the same type as the column.
+ * The operator can be omitted, and will default to 'IN' if the value is an
+ * array, or to '=' otherwise.
*
* @return EntityFieldQuery
* The called object.
@@ -729,6 +731,8 @@ class EntityFieldQuery {
* literals of the same type as the column.
* - 'BETWEEN': This operator expects $value to be an array of two literals
* of the same type as the column.
+ * The operator can be omitted, and will default to 'IN' if the value is an
+ * array, or to '=' otherwise.
* @param $delta_group
* An arbitrary identifier: conditions in the same group must have the same
* $delta_group. For example, let's presume a multivalue field which has