Function Hook_fields_ip_address_multi->get_field_value_row_bits

Definitions

sources/hooks/systems/fields/ip_address_multi.php

  • Get some info bits relating to our field type, that helps us look it up / set defaults.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$field ?array required parameter N/A N/A The field details (null: new field)
$required ?boolean Null N/A N/A Whether a default value cannot be blank (null: don't "lock in" a new default value) (may be passed as false also if we want to avoid "lock in" of a new default value, but in this case possible cleanup of $default may still happen where appropriate)
$default ?string Null N/A N/A The given default value as a string (null: don't "lock in" a new default value) (blank: only "lock in" a new default value if $required is true)
$db ?object Null N/A N/A Database connector (null: main site database)

Return

  • Tuple of details (row-type,default-value-to-use,db row-type)
  • Type: array
  • Set: N/A
  • Range: N/A