Class BasicFetcher
Fetch records from a model.
- ICanBoogie\Facets\Fetcher\BasicFetcher implements ICanBoogie\Facets\Fetcher uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\Facets\FetcherTrait
Methods summary
protected
get_model( void )
: ICanBoogie\ActiveRecord\Model
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$model property.
protected
get_modifiers( void )
: array
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$modifiers property.
protected
get_initial_query( void )
: ICanBoogie\ActiveRecord\Query
Return the $initial_query property.
protected
get_query( void )
: ICanBoogie\ActiveRecord\Query
Return the query used to fetch the records.
protected
get_query_string( void )
: ICanBoogie\Facets\QueryString
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$query_string property.
protected
get_conditions( void )
: array
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$conditions property.
protected
get_order( void )
: string|null
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$order property.
protected
get_limit( void )
: integer|null
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$limit property.
protected
get_count( void )
: integer
Return the ICanBoogie\Facets\Fetcher\BasicFetcher::$count property.
public
__clone( void )
Clones the initial_query, query, and ICanBoogie\Facets\Fetcher\BasicFetcher::$query_string properties.
Methods inherited from ICanBoogie\Facets\Fetcher
alter_conditions(),
alter_criterion_list(),
alter_query(),
alter_query_with_conditions(),
alter_query_with_limit(),
alter_query_with_order(),
alter_records(),
count_records(),
fetch_records(),
parse_query_string()
Methods used from ICanBoogie\Facets\FetcherTrait
alter_conditions(),
alter_criterion_list(),
alter_query(),
alter_query_with_conditions(),
alter_query_with_limit(),
alter_query_with_order(),
alter_records(),
count_records(),
fetch_records(),
get_criterion_list(),
parse_query_string()
Properties summary
Properties used from ICanBoogie\Facets\FetcherTrait
Magic properties
public read-only
$initial_query
: ICanBoogie\ActiveRecord\Query
The initial query, before it is altered by the criteria, conditions, order or limit.
public read-only
$query_string
: ICanBoogie\Facets\QueryString
A ICanBoogie\Facets\QueryString instance resolved from the q modifier.
public read-only
$order
: string
The order in which records are fetched, as defined by the order modifier.