Function Module_admin_themes->get_theme_fields
Definitions
adminzone/pages/modules/admin_themes.php
- Get standard form input fields for inputting a theme.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $name | string | No | No | Blank (empty string) | N/A | N/A | The name of the theme |
| $use_on_all_zones | boolean | No | No | False | N/A | N/A | Whether to use this theme on all zones |
Returns
- The fields
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get standard form input fields for inputting a theme.
*
* @param string $name The name of the theme
* @param boolean $use_on_all_zones Whether to use this theme on all zones
* @return Tempcode The fields
*/
public function get_theme_fields(string $name = '', bool $use_on_all_zones = false) : object
* Get standard form input fields for inputting a theme.
*
* @param string $name The name of the theme
* @param boolean $use_on_all_zones Whether to use this theme on all zones
* @return Tempcode The fields
*/
public function get_theme_fields(string $name = '', bool $use_on_all_zones = false) : object

