Login renderable class.
More...
Login renderable class.
- Copyright
- 2016 Frédéric Massart - FMCorz.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_auth\output\login::__construct |
( |
array |
$authsequence, |
|
|
|
$username = '' |
|
) |
| |
Constructor.
- Parameters
-
array | $authsequence | The enabled sequence of authentication plugins. |
string | $username | The username to display. |
◆ export_for_template()
core_auth\output\login::export_for_template |
( |
renderer_base |
$output | ) |
|
Function to export the renderer data in a format that is suitable for a mustache template.
This means:
- No complex types - only stdClass, array, int, string, float, bool
- Any additional info that is required for the template is pre-calculated (e.g. capability checks).
- Parameters
-
renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
Implements templatable.
◆ set_error()
core_auth\output\login::set_error |
( |
|
$error | ) |
|
Set the error message.
- Parameters
-
string | $error | The error message. |
The documentation for this class was generated from the following file: