Function Module_purchase->_wrap
Definitions
site/pages/modules/purchase.php
- Wrap-up so as to remove redundancy in templates.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$content | Tempcode | required parameter | N/A | N/A | To wrap |
$title | Tempcode | required parameter | N/A | N/A | The title to use |
$url | ?mixed | Null | N/A | N/A | URL (null: no next URL) |
$js_function_calls | array | [] | N/A | N/A | Array of JavaScript function calls to use |
$get | boolean | False | N/A | N/A | Whether it is a GET form |
$submit_name | ?Tempcode | Null | N/A | N/A | Submit button label to use (null: default) |
$icon | string | buttons/proceed | N/A | N/A | CSS icon label to use |
Return
- Wrapped
- Type: Tempcode
- Set: N/A
- Range: N/A