Function __global->generate_login_screen
Definitions
sources/users_active_actions.php
- Generate a log in screen.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $title | Tempcode | No | No | required parameter | N/A | N/A | Screen title |
| $target | string | No | No | _top | N/A | N/A | The form target |
| $redirect | ?mixed | No | No | Null | N/A | N/A | Where to redirect to (null: redirect to same URL) |
Returns
- The log in screen
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Generate a log in screen.
*
* @param Tempcode $title Screen title
* @param string $target The form target
* @param ?mixed $redirect Where to redirect to (null: redirect to same URL)
* @return Tempcode The log in screen
*/
function generate_login_screen(object $title, string $target = '_top', $redirect = null) : object
* Generate a log in screen.
*
* @param Tempcode $title Screen title
* @param string $target The form target
* @param ?mixed $redirect Where to redirect to (null: redirect to same URL)
* @return Tempcode The log in screen
*/
function generate_login_screen(object $title, string $target = '_top', $redirect = null) : object

