include/utils/expression_utils.php
Functions
build_filter_where(
$table_name, $where, $filter_array
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table_name | ||
$where | ||
$filter_array |
compare_bool_values(
$target_object, $lhs_field, $operator, $rhs_value
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_object | ||
$lhs_field | ||
$operator | ||
$rhs_value |
compare_values(
$target_object, $lhs_field, $operator, $rhs_value
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_object | ||
$lhs_field | ||
$operator | ||
$rhs_value |
compare_values_number(
$lhs_field, $operator, $rhs_value
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$lhs_field | ||
$operator | ||
$rhs_value |
convert_bool(
$value, $type
=
"", $dbType
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$value | ||
$type | ||
$dbType |
filter_out_linked_records(
$rel_list, $lhs_field, $operator, $rhs_value
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$rel_list | ||
$lhs_field | ||
$operator | ||
$rhs_value |
process_rel_type(
$target_type, $target_filter, $target_list, $action_array, $type_override
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_type | ||
$target_filter | ||
$target_list | ||
$action_array | ||
$type_override |
setup_filter_records(
$target_list, $target_exp_array, $type
=
"php"
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_list | ||
$target_exp_array | ||
$type |