|
static | compatible (int $columntype) |
| Whether the aggregation is compatible with the given column type.
|
|
static | format_value ($value, array $values, array $callbacks, int $columntype) |
| Return formatted value for column when applying aggregation, by default executing all callbacks on the value.
|
|
static | get_class_name () |
| Return the class name of the aggregation type.
|
|
static | get_column_field_sql (array $sqlfields) |
| Return SQL suitable for using within {.
|
|
static | get_field_sql (string $field, int $columntype) |
| Return the aggregated field SQL.
|
|
static | get_name () |
| Return the display name of the aggregation.
|
|
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\base::compatible |
( |
int | $columntype | ) |
|
|
staticabstractinherited |
◆ format_value()
static core_reportbuilder\local\aggregation\base::format_value |
( |
| $value, |
|
|
array | $values, |
|
|
array | $callbacks, |
|
|
int | $columntype ) |
|
staticinherited |
◆ get_all_columns()
core_comment\reportbuilder\local\entities\comment::get_all_columns |
( |
| ) |
|
|
protected |
Returns list of all available columns.
- Return values
-
◆ get_all_filters()
core_comment\reportbuilder\local\entities\comment::get_all_filters |
( |
| ) |
|
|
protected |
Return list of all available filters.
- Return values
-
◆ 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\base::get_column_field_sql |
( |
array | $sqlfields | ) |
|
|
staticinherited |
◆ 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_context_join()
core_comment\reportbuilder\local\entities\comment::get_context_join |
( |
| ) |
|
Return syntax for joining on the context table.
- Return values
-
◆ get_default_entity_title()
core_comment\reportbuilder\local\entities\comment::get_default_entity_title |
( |
| ) |
|
|
protected |
The default title for this entity.
- Return values
-
◆ get_default_table_aliases()
core_comment\reportbuilder\local\entities\comment::get_default_table_aliases |
( |
| ) |
|
|
protected |
Database tables that this entity uses and their default aliases.
- Return values
-
◆ get_field_sql()
static core_reportbuilder\local\aggregation\base::get_field_sql |
( |
string | $field, |
|
|
int | $columntype ) |
|
staticabstractinherited |
◆ get_name()
static core_reportbuilder\local\aggregation\base::get_name |
( |
| ) |
|
|
staticabstractinherited |
◆ initialise()
core_comment\reportbuilder\local\entities\comment::initialise |
( |
| ) |
|
Initialise the entity.
- Return values
-
◆ 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:
- comment/classes/reportbuilder/local/entities/comment.php