Function __global->cns_button_screen_wrap
Definitions
sources/cns_general.php
- Turn a list of maps describing buttons, into a Tempcode button panel.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $buttons | array | No | No | required parameter | N/A | N/A | List of maps (each map contains: url, img, title) |
Returns
- The button panel
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Turn a list of maps describing buttons, into a Tempcode button panel.
*
* @param array $buttons List of maps (each map contains: url, img, title)
* @return Tempcode The button panel
*/
function cns_button_screen_wrap(array $buttons) : object
* Turn a list of maps describing buttons, into a Tempcode button panel.
*
* @param array $buttons List of maps (each map contains: url, img, title)
* @return Tempcode The button panel
*/
function cns_button_screen_wrap(array $buttons) : object

