◆ __construct()
core_user\hook\extend_default_homepage::__construct |
( |
public bool readonly bool | $userpreference = false | ) |
|
Hook constructor.
- Parameters
-
bool | $userpreference | Whether this is being selected as a user preference |
- Parameters
-
$userpreference | $userpreference Whether this is being selected as a user preference |
◆ add_option()
core_user\hook\extend_default_homepage::add_option |
( |
url | $url, |
|
|
lang_string|string | $title ) |
To be called by callback to add an option.
- Parameters
-
url | $url | URL that can be used as a site homepage. Must be a local URL. |
lang_string | string | $title | |
◆ get_options()
core_user\hook\extend_default_homepage::get_options |
( |
| ) |
|
Returns all added options.
- Return values
-
The documentation for this class was generated from the following file:
- user/classes/hook/extend_default_homepage.php