Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
core_calendar\local\event\proxies\coursecat_proxy Class Reference

Course category proxy. More...

Inheritance diagram for core_calendar\local\event\proxies\coursecat_proxy:
core_calendar\local\event\proxies\proxy_interface

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.
 

Detailed Description

Course category proxy.

This returns an instance of a coursecat rather than a stdClass.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_calendar\local\event\proxies\coursecat_proxy::__construct (   $id)

coursecat_proxy constructor.

Parameters
int$idThe ID of the record in the database.

Member Function Documentation

◆ get()

core_calendar\local\event\proxies\coursecat_proxy::get (   $member)

Retrieve a member of the proxied class.

Parameters
string$memberThe name of the member to retrieve
Return values
mixedThe member.

Implements core_calendar\local\event\proxies\proxy_interface.

◆ get_proxied_instance()

core_calendar\local\event\proxies\coursecat_proxy::get_proxied_instance ( )

Get the full instance of the proxied class.

Return values
core_course_category

Implements core_calendar\local\event\proxies\proxy_interface.


The documentation for this class was generated from the following file: