Function __global->predefined_content_changes_ui
Definitions
sources/content2.php
- Generate a UI for predefined content installation/uninstallation.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$addon | string | No | No | required parameter | N/A | N/A | Addon to do for |
$title | Tempcode | No | No | required parameter | N/A | N/A | Screen title |
$url | Tempcode | No | No | required parameter | N/A | N/A | POST URL |
$skip | array | No | No | [] | N/A | N/A | List of predefined content codenames to skip |
$only | ?array | No | No | Null | N/A | N/A | List of predefined content codenames to limit to (null: no limit) |
Returns
- UI
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Generate a UI for predefined content installation/uninstallation.
*
* @param string $addon Addon to do for
* @param Tempcode $title Screen title
* @param Tempcode $url POST URL
* @param array $skip List of predefined content codenames to skip
* @param ?array $only List of predefined content codenames to limit to (null: no limit)
* @return Tempcode UI
*/
function predefined_content_changes_ui(string $addon, object $title, object $url, array $skip = [], ?array $only = null) : object
* Generate a UI for predefined content installation/uninstallation.
*
* @param string $addon Addon to do for
* @param Tempcode $title Screen title
* @param Tempcode $url POST URL
* @param array $skip List of predefined content codenames to skip
* @param ?array $only List of predefined content codenames to limit to (null: no limit)
* @return Tempcode UI
*/
function predefined_content_changes_ui(string $addon, object $title, object $url, array $skip = [], ?array $only = null) : object