Interface FetcherInterface
Interface for an active record fetcher that supports external conditions.
Direct known implementers
Methods summary
public
alter_criterion_list( ICanBoogie\Facets\CriterionList
$criterion_list
)
Alter the ICanBoogie\Facets\CriterionList
instance usually provided during construct.
public
alter_conditions( array & $conditions
, array $modifiers
)
: array
Alter the conditions with the specified modifiers.
public
alter_query( ICanBoogie\ActiveRecord\Query $query
)
: ICanBoogie\ActiveRecord\Query
Alter the initial query.
public
alter_query_with_conditions( ICanBoogie\ActiveRecord\Query $query
, array $conditions
)
: ICanBoogie\ActiveRecord\Query
Alter the query with conditions.
public
alter_query_with_order( ICanBoogie\ActiveRecord\Query $query
, string $criterion_id
, integer $order_direction
= 1 )
: ICanBoogie\ActiveRecord\Query
Alter the query with an order.
public
count_records( ICanBoogie\ActiveRecord\Query $query
)
: integer
Counts the number of records that are matching the query.
public
alter_query_with_limit( ICanBoogie\ActiveRecord\Query $query
, integer $offset
, integer $limit
)
: ICanBoogie\ActiveRecord\Query
Alter the query with an offset and limit.