|
| __construct (stdClass $course) |
| Entity constructor.
|
|
| add_join (string $join) |
| Add join clause required for this entity to join to existing tables/entities.
|
|
| add_joins (array $joins) |
| Add multiple join clauses required for this entity {.
|
|
| get_column (string $name) |
| Returns an entity column.
|
|
| get_columns () |
| Returns entity columns.
|
|
| get_condition (string $name) |
| Returns an entity condition.
|
|
| get_conditions () |
| Returns entity conditions.
|
|
| get_entity_name () |
| Return entity name.
|
|
| get_entity_title () |
| Get entity title.
|
|
| get_filter (string $name) |
| Returns an entity filter.
|
|
| get_filters () |
| Returns entity filters.
|
|
| get_joins () |
| Return entity joins.
|
|
| get_table_alias (string $tablename) |
| Returns an alias used in the queries for a given table.
|
|
| initialise () |
| Initialise the entity.
|
|
| set_entity_name (string $entityname) |
| Set entity name.
|
|
| set_entity_title (lang_string $title) |
| Set entity title.
|
|
| set_table_alias (string $tablename, string $alias) |
| Override the default alias for given database table used in entity queries, to avoid table alias clashes that may occur if multiple entities of a report each define the same default alias for one of their tables.
|
|
| set_table_aliases (array $aliases) |
| Override multiple default database table aliases used in entity queries as per {.
|
|
|
stdClass | $course |
| Course.
|
|
grade_report_summary | $report |
| Grade report.
|
|
array | $ungradedcounts |
| Ungraded grade items counts with sql info.
|
|
◆ __construct()
gradereport_summary\local\entities\grade_items::__construct |
( |
stdClass | $course | ) |
|
Entity constructor.
- Parameters
-
◆ add_column()
core_reportbuilder\local\entities\base::add_column |
( |
column | $column | ) |
|
|
finalprotectedinherited |
Add a column to the entity.
- Parameters
-
- Return values
-
◆ add_condition()
core_reportbuilder\local\entities\base::add_condition |
( |
filter | $condition | ) |
|
|
finalprotectedinherited |
Add a condition to the entity.
- Parameters
-
- Return values
-
◆ add_filter()
core_reportbuilder\local\entities\base::add_filter |
( |
filter | $filter | ) |
|
|
finalprotectedinherited |
Add a filter to the entity.
- Parameters
-
- Return values
-
◆ add_join()
core_reportbuilder\local\entities\base::add_join |
( |
string | $join | ) |
|
|
finalinherited |
Add join clause required for this entity to join to existing tables/entities.
- Parameters
-
- Return values
-
◆ add_joins()
core_reportbuilder\local\entities\base::add_joins |
( |
array | $joins | ) |
|
|
finalinherited |
Add multiple join clauses required for this entity {.
- See also
- add_join}
- Parameters
-
- Return values
-
◆ get_all_columns()
gradereport_summary\local\entities\grade_items::get_all_columns |
( |
| ) |
|
|
protected |
Returns list of all available columns.
- Return values
-
◆ get_all_filters()
gradereport_summary\local\entities\grade_items::get_all_filters |
( |
| ) |
|
|
protected |
Return list of all available filters.
- Return values
-
◆ get_column()
core_reportbuilder\local\entities\base::get_column |
( |
string | $name | ) |
|
|
finalinherited |
Returns an entity column.
- Parameters
-
- Return values
-
- Exceptions
-
◆ get_columns()
core_reportbuilder\local\entities\base::get_columns |
( |
| ) |
|
|
finalinherited |
Returns entity columns.
- Return values
-
◆ get_condition()
core_reportbuilder\local\entities\base::get_condition |
( |
string | $name | ) |
|
|
finalinherited |
Returns an entity condition.
- Parameters
-
- Return values
-
- Exceptions
-
◆ get_conditions()
core_reportbuilder\local\entities\base::get_conditions |
( |
| ) |
|
|
finalinherited |
Returns entity conditions.
- Return values
-
◆ get_default_entity_name()
core_reportbuilder\local\entities\base::get_default_entity_name |
( |
| ) |
|
|
protectedinherited |
◆ get_default_entity_title()
gradereport_summary\local\entities\grade_items::get_default_entity_title |
( |
| ) |
|
|
protected |
◆ get_default_table_aliases()
gradereport_summary\local\entities\grade_items::get_default_table_aliases |
( |
| ) |
|
|
protected |
◆ get_entity_name()
core_reportbuilder\local\entities\base::get_entity_name |
( |
| ) |
|
|
finalinherited |
Return entity name.
- Return values
-
◆ get_entity_title()
core_reportbuilder\local\entities\base::get_entity_title |
( |
| ) |
|
|
finalinherited |
Get entity title.
- Return values
-
◆ get_filter()
core_reportbuilder\local\entities\base::get_filter |
( |
string | $name | ) |
|
|
finalinherited |
Returns an entity filter.
- Parameters
-
- Return values
-
- Exceptions
-
◆ get_filters()
core_reportbuilder\local\entities\base::get_filters |
( |
| ) |
|
|
finalinherited |
Returns entity filters.
- Return values
-
◆ get_joins()
core_reportbuilder\local\entities\base::get_joins |
( |
| ) |
|
|
finalinherited |
Return entity joins.
- Return values
-
◆ get_table_alias()
core_reportbuilder\local\entities\base::get_table_alias |
( |
string | $tablename | ) |
|
|
finalinherited |
Returns an alias used in the queries for a given table.
- Parameters
-
- Return values
-
- Exceptions
-
◆ initialise()
gradereport_summary\local\entities\grade_items::initialise |
( |
| ) |
|
◆ set_entity_name()
core_reportbuilder\local\entities\base::set_entity_name |
( |
string | $entityname | ) |
|
|
finalinherited |
Set entity name.
- Parameters
-
- Return values
-
- Exceptions
-
◆ set_entity_title()
core_reportbuilder\local\entities\base::set_entity_title |
( |
lang_string | $title | ) |
|
|
finalinherited |
Set entity title.
- Parameters
-
- Return values
-
◆ set_table_alias()
core_reportbuilder\local\entities\base::set_table_alias |
( |
string | $tablename, |
|
|
string | $alias ) |
|
finalinherited |
Override the default alias for given database table used in entity queries, to avoid table alias clashes that may occur if multiple entities of a report each define the same default alias for one of their tables.
- Parameters
-
string | $tablename | |
string | $alias | |
- Return values
-
- Exceptions
-
◆ set_table_aliases()
core_reportbuilder\local\entities\base::set_table_aliases |
( |
array | $aliases | ) |
|
|
finalinherited |
Override multiple default database table aliases used in entity queries as per {.
- See also
- set_table_alias}, typically when you're adding an entity multiple times to a report you'd want to override the table aliases in the second instance to avoid clashes with the first
- Parameters
-
array | $aliases | Array of tablename => alias values |
- Return values
-
The documentation for this class was generated from the following file:
- grade/report/summary/classes/local/entities/grade_items.php