Function DatabaseConnector->refresh_field_definition

Definitions

sources/database.php

  • If we've changed what $type is stored as, this function will need to be called to change the typing in the DB.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$type ID_TEXT No No required parameter N/A N/A The field type

Preview

Code (PHP)

/**
 * If we've changed what $type is stored as, this function will need to be called to change the typing in the DB.
 *
 * @param  ID_TEXT $type The field type
 */

public function refresh_field_definition(string $type)