|
static | compatible (int $columntype) |
| This aggregation can be performed on all column types.
|
|
static | format_value ($value, array $values, array $callbacks, int $columntype) |
| Return formatted value for column when applying aggregation.
|
|
static | get_class_name () |
| Return the class name of the aggregation type.
|
|
static | get_column_field_sql (array $sqlfields) |
| Override base method to ensure all SQL fields are concatenated together if there are multiple.
|
|
static | get_field_sql (string $field, int $columntype) |
| Return the aggregated field SQL.
|
|
static | get_name () |
| Return aggregation name.
|
|
static | sortable (bool $columnsortable) |
| Whether the aggregation is sortable, by default return the sortable status of the column itself.
|
|
|
static | get_column_fields_concat (array $sqlfields, string $delimeter=',', string $coalescechar=' ') |
| Helper method for concatenating given fields for a column, so they are suitable for aggregation.
|
|
◆ compatible()
static core_reportbuilder\local\aggregation\countdistinct::compatible |
( |
int | $columntype | ) |
|
|
static |
◆ format_value()
static core_reportbuilder\local\aggregation\countdistinct::format_value |
( |
| $value, |
|
|
array | $values, |
|
|
array | $callbacks, |
|
|
int | $columntype ) |
|
static |
◆ get_class_name()
static core_reportbuilder\local\aggregation\base::get_class_name |
( |
| ) |
|
|
staticfinalinherited |
Return the class name of the aggregation type.
- Return values
-
◆ get_column_field_sql()
static core_reportbuilder\local\aggregation\countdistinct::get_column_field_sql |
( |
array | $sqlfields | ) |
|
|
static |
◆ get_column_fields_concat()
static core_reportbuilder\local\aggregation\base::get_column_fields_concat |
( |
array | $sqlfields, |
|
|
string | $delimeter = ',', |
|
|
string | $coalescechar = ' ' ) |
|
staticfinalprotectedinherited |
Helper method for concatenating given fields for a column, so they are suitable for aggregation.
- Parameters
-
string[] | $sqlfields | |
string | $delimeter | |
string | $coalescechar | |
- Return values
-
◆ get_field_sql()
static core_reportbuilder\local\aggregation\countdistinct::get_field_sql |
( |
string | $field, |
|
|
int | $columntype ) |
|
static |
◆ get_name()
static core_reportbuilder\local\aggregation\countdistinct::get_name |
( |
| ) |
|
|
static |
◆ sortable()
static core_reportbuilder\local\aggregation\base::sortable |
( |
bool | $columnsortable | ) |
|
|
staticinherited |
Whether the aggregation is sortable, by default return the sortable status of the column itself.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- reportbuilder/classes/local/aggregation/countdistinct.php