Function __global->alternate_fields_set__start
Definitions
sources/form_templates.php
- Start off a field set.IMPORTANT: Note that this function uses global state -- any fields generated between alternate_fields_set__start and alternate_fields_set__end will be rendered using field set templating.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$set_name | ID_TEXT | No | No | required parameter | N/A | N/A | The codename for this field set |
Returns
- Tempcode to start attaching the field set to
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Start off a field set.IMPORTANT: Note that this function uses global state -- any fields generated between alternate_fields_set__start and alternate_fields_set__end will be rendered using field set templating.
*
* @param ID_TEXT $set_name The codename for this field set
* @return Tempcode Tempcode to start attaching the field set to
*/
function alternate_fields_set__start(string $set_name) : object
* Start off a field set.IMPORTANT: Note that this function uses global state -- any fields generated between alternate_fields_set__start and alternate_fields_set__end will be rendered using field set templating.
*
* @param ID_TEXT $set_name The codename for this field set
* @return Tempcode Tempcode to start attaching the field set to
*/
function alternate_fields_set__start(string $set_name) : object