Function Hook_config_payment_gateway->field_inputter

Definitions

sources/hooks/systems/config/payment_gateway.php

  • Field inputter (because the_type=special).
  • 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 ID_TEXT No No required parameter N/A N/A The config option name
$myrow array No No required parameter N/A N/A The config row
$config_field_name ID_TEXT No No required parameter N/A N/A The form field name to use for this config
$human_name Tempcode No No required parameter N/A N/A The field title
$explanation Tempcode No No required parameter N/A N/A The field description

Returns

  • The inputter
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Field inputter (because the_type=special).
 *
 * @param  ID_TEXT $name The config option name
 * @param  array $myrow The config row
 * @param  ID_TEXT $config_field_name The form field name to use for this config
 * @param  Tempcode $human_name The field title
 * @param  Tempcode $explanation The field description
 * @return Tempcode The inputter
 */

public function field_inputter(string $name, array $myrow, string $config_field_name, object $human_name, object $explanation) : object