Type

Represents a filter type.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

$filter  : Filter
The filter object.
__construct()  : mixed
Initialize the type.
get_filter()  : Filter
Get the filter object.
get_ids_from_results()  : array<string|int, mixed>
Get the post IDs from the results.

Properties

Methods

__construct()

Initialize the type.

public __construct(Filter $filter) : mixed
Parameters
$filter : Filter

The filter object.

Return values
mixed

get_filter()

Get the filter object.

public get_filter() : Filter
Return values
Filter

get_ids_from_results()

Get the post IDs from the results.

public get_ids_from_results(array<string|int, mixed> $results) : array<string|int, mixed>
Parameters
$results : array<string|int, mixed>

The results from the database.

Return values
array<string|int, mixed>

Search results