52 $alias =
function (
$column) use ($table_alias) {
53 return $table_alias ?
"{$table_alias}.{$column}" :
$column;
57 $wheres[] = parent::prepare(
$qb, $table_alias);
61 $wheres[] =
$qb->compare($alias(
'value'), $this->comparison, $this->values, $this->value_type, $this->case_sensitive);
62 $wheres[] =
$qb->compare($alias(
'entity_guid'),
'=', $this->entity_guids,
ELGG_VALUE_GUID);
63 $wheres[] =
$qb->between($alias(
'time_created'), $this->created_after, $this->created_before,
ELGG_VALUE_TIMESTAMP);
65 return $qb->merge($wheres);
86 foreach ($array_attributes as $array_key) {
92 $singular_attributes = [
99 foreach ($singular_attributes as $array_key) {
$attributes
Elgg AJAX loader.
Builds a clause from closure or composite expression.
Database abstraction query builder.
const ELGG_VALUE_TIMESTAMP