Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
This filter defines a specific blog entry id. More...
Public Member Functions | |
__construct ($id) | |
Static Public Member Functions | |
static | get_instance ($id, $type) |
TODO This is poor design. | |
Public Attributes | |
array | $availabletypes = array() |
An array of strings representing the available filter types for each blog_filter. | |
$conditions = array('p.id = ?') | |
int | $id |
The unique ID for a filter's associated record $id. | |
$overrides = array('site', 'course', 'module', 'group', 'user', 'tag') | |
array | $params = array() |
An array of SQL params $params. | |
array | $tables = array() |
An array of table aliases that are used in the WHERE conditions $tables. | |
string | $type |
The type of filter (for example, types of blog_filter_context are site, course and module) $type. | |
This filter defines a specific blog entry id.
|
staticinherited |
TODO This is poor design.
A parent class should not know anything about its children. The default case helps to resolve this design issue
|
inherited |
An array of strings representing the available filter types for each blog_filter.
$availabletypes