Function DatabaseDriver->get_implicit_field_default

Definitions

sources/database.php

  • Get the implicit field default for a software field type.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$type string No No required parameter N/A N/A Field type

Returns

  • The default
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the implicit field default for a software field type.
 *
 * @param  string $type Field type
 * @return mixed The default
 */

public function get_implicit_field_default(string $type)