Function Hook_fields_integer->get_field_auto_increment
Definitions
sources/hooks/systems/fields/integer.php
- Get a fresh value for an auto_increment valued field.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$field_id | AUTO_LINK | required parameter | N/A | N/A | The field ID |
$default | string | Blank (empty string) | N/A | N/A | The field default |
Return
- The value (null: could not process)
- Type: ?string
- Set: N/A
- Range: N/A