Function __global->_helper_refresh_field_definition

Definitions

sources/database_helper.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
$this_ref object No No required parameter N/A N/A Link to the real database object
$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  object $this_ref Link to the real database object
 * @param  ID_TEXT $type The field type
 */

function _helper_refresh_field_definition(object $this_ref, string $type)