Function Hook_fields_time->input_from

Definitions

sources/hooks/systems/fields/time.php

  • Input a value.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$stub string No No required parameter N/A N/A Name of environment variable
$get boolean No No False N/A N/A Use GET parameter instead of POST parameter

Returns

  • String representation
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Input a value.
 *
 * @param  string $stub Name of environment variable
 * @param  boolean $get Use GET parameter instead of POST parameter
 * @return string String representation
 */

protected function input_from(string $stub, bool $get = false) : string