Differences Between: [Versions 311 and 402] [Versions 311 and 403]
(no description)
File Size: | 219 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
area_base:: (10 methods):
checkgroup_name()
checkgroup_value()
get_type()
get_component()
is_available()
get_ref_tablename()
find_system_areas()
get_standard_area_fields_sql()
get_reftable_field_sql()
get_courseid_filtering()
checkgroup_name(int $checkgroupvalue) X-Ref |
Return the name for the specified checkgroup value, or 'unknown' if no valid name for the value. Preferably, use this rather than direct access to CHECKGROUP_NAMES, since it checks value boundaries. param: int $checkgroupvalue return: string |
checkgroup_value(string $checkgroupname) X-Ref |
Return the value for the specified checkgroup name, or the unknown value if no valid value for the name. param: string $checkgroupname return: int |
get_type() X-Ref |
Return the defined content type. return: int |
get_component() X-Ref |
Return the component from the full class name. return: mixed|string |
is_available() X-Ref |
Check if the system plugin is avaliable. return: bool |
get_ref_tablename() X-Ref |
Return the name of the reference data table name. return: string |
find_system_areas() X-Ref |
Return an array of area objects that contain content at the site and system levels only. Override this where necessary. return: \moodle_recordset|null |
get_standard_area_fields_sql() X-Ref |
The standard Moodle parameter DML parameter substitution doesn't work on all versions of MySQL or Postgres, so we need to use inline function substitution to ensure that the left side is a string. return: string |
get_reftable_field_sql() X-Ref |
The standard Moodle parameter DML parameter substitution doesn't work on all versions of MySQL or Postgres, so we need to use inline function substitution to ensure that the left side is a string. return: string |
get_courseid_filtering() X-Ref |
Processes any sql filtering data. Implement in extensions. return: null |