Trait CriterionTrait
Trait for a generic criterion.
Direct Known Users
Indirect Known Users
Methods summary
protected
|
|
protected
|
#
get_column_name( )
Returns the criterion's column name, or if it is empty the criterion's identifier. |
public
|
#
parse_query_string(
Parses the query string and marks words matched by the criterion. |
public
mixed
|
|
public
|
#
alter_conditions( array & $conditions, array $modifiers )
Unset the condition if the modifier is |
public
|
|
public
ICanBoogie\ActiveRecord\Query
|
#
alter_query_with_value( ICanBoogie\ActiveRecord\Query $query, mixed $value )
Alters the query according to the specified value. |
public
ICanBoogie\ActiveRecord\Query
|
#
alter_query_with_order( ICanBoogie\ActiveRecord\Query $query, integer $order_direction )
Alters the query with an order. |
public
|
|
public
string|
|
|
public
string
|
#
format_humanized_value( mixed $humanized_value )
Formats a humanized value, or array of values, into a string. |
Properties summary
protected
string
|
$id
The identifier of the criterion. |
|
protected
string
|
$column_name
The column name of the criterion, as in a SQL table. |