Function Hook_addon_registry_installer->make_tick
Definitions
sources/hooks/systems/addon_registry/installer.php
- Make the UI for an installer tick (check) option.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $nice_name | string | No | No | required parameter | N/A | N/A | The human readable name for the option |
| $description | string | No | No | required parameter | N/A | N/A | A description of the option |
| $name | ID_TEXT | No | No | required parameter | N/A | N/A | The name of the option |
| $value | BINARY | No | No | required parameter | N/A | N/A | The default/current value of the option |
Returns
- The list of usergroups
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Make the UI for an installer tick (check) option.
*
* @param string $nice_name The human readable name for the option
* @param string $description A description of the option
* @param ID_TEXT $name The name of the option
* @param BINARY $value The default/current value of the option
* @return Tempcode The list of usergroups
*/
public function make_tick(string $nice_name, string $description, string $name, int $value) : object
* Make the UI for an installer tick (check) option.
*
* @param string $nice_name The human readable name for the option
* @param string $description A description of the option
* @param ID_TEXT $name The name of the option
* @param BINARY $value The default/current value of the option
* @return Tempcode The list of usergroups
*/
public function make_tick(string $nice_name, string $description, string $name, int $value) : object

