Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Course category proxy. More...
Public Member Functions | |
__construct ($id) | |
coursecat_proxy constructor. More... | |
get ($member) | |
Retrieve a member of the proxied class. More... | |
get_proxied_instance () | |
Get the full instance of the proxied class. More... | |
Protected Attributes | |
stdClass | $base |
$base Base class to get members from. | |
core_course_category | $category |
$category The proxied instance. | |
int | $id |
$id The ID of the database record. | |
Course category proxy.
This returns an instance of a coursecat rather than a stdClass.
core_calendar\local\event\proxies\coursecat_proxy::__construct | ( | $id | ) |
coursecat_proxy constructor.
int | $id | The ID of the record in the database. |
core_calendar\local\event\proxies\coursecat_proxy::get | ( | $member | ) |
Retrieve a member of the proxied class.
string | $member | The name of the member to retrieve |
mixed | The member. |
Implements core_calendar\local\event\proxies\proxy_interface.
core_calendar\local\event\proxies\coursecat_proxy::get_proxied_instance | ( | ) |
Get the full instance of the proxied class.
core_course_category |
Implements core_calendar\local\event\proxies\proxy_interface.