Class service_factory, providing functions for location of service objects for the favourites subsystem.
More...
Class service_factory, providing functions for location of service objects for the favourites subsystem.
This class is responsible for providing service objects to clients only.
- Copyright
- 2018 Jake Dallimore jrhda.nosp@m.llim.nosp@m.ore@g.nosp@m.mail.nosp@m..com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_service_for_component()
static core_favourites\service_factory::get_service_for_component |
( |
string |
$component | ) |
|
|
static |
Returns a basic service object providing operations for favourites belonging to a given component.
- Parameters
-
string | $component | frankenstyle component name. |
- Return values
-
◆ get_service_for_user_context()
static core_favourites\service_factory::get_service_for_user_context |
( |
\context_user |
$context | ) |
|
|
static |
Returns a basic service object providing operations for user favourites.
- Parameters
-
context_user | $context | the context of the user to which the service should be scoped. |
- Return values
-
The documentation for this class was generated from the following file: