Skip to content

IsUserBased Criterion

The IsUserBased Search Criterion searches for content that plays the role of a User account.

Note

In the default setup only the User Content Type is treated as User accounts. However, you can also set other Content Types to be treated as such.

Arguments

  • (optional) value - bool representing whether to search for User-based (default true) or non-User-based content

Limitations

The IsUserBased Criterion is not available in Solr or Elastic search engines.

Example

1
$query->query = new Criterion\IsUserBased();