Function Hook_payment_gateway_authorize->_substring_between
Definitions
sources/hooks/systems/payment_gateway/authorize.php
- Helper function for parsing response, gets a substring between two text strings.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$haystack | string | required parameter | N/A | N/A | The response |
$start | string | required parameter | N/A | N/A | Start text |
$end | string | required parameter | N/A | N/A | End text |
Return
- The substring (null: error)
- Type: ?string
- Set: N/A
- Range: N/A