FormattingUtil
class FormattingUtil
Methods
static
formatWriteParams($params, $entity, $fields)
Massage values into the format the BAO expects for a write operation
static
formatValue($value, $fieldSpec, string $entity)
Transform raw api input to appropriate format for use in a SQL query.
Details
at line 54
static
formatWriteParams($params, $entity, $fields)
Massage values into the format the BAO expects for a write operation
at line 99
static
formatValue($value, $fieldSpec, string $entity)
Transform raw api input to appropriate format for use in a SQL query.
This is used by read AND write actions (Get, Create, Update, Replace)