ViewFieldModifierTypeBase
in
Tags
Table of Contents
- __construct() : mixed
- getAPIFields() : array<string|int, mixed>
- getVisibleFields() : array<string|int, mixed>
- reduceRecord() : array<string|int, mixed>
Methods
__construct()
public
__construct(array<string|int, mixed> $viewFields) : mixed
Parameters
- $viewFields : array<string|int, mixed>
-
Fields requested by the view
Return values
mixed —getAPIFields()
public
getAPIFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getVisibleFields()
public
getVisibleFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —Fields visible from within the templates Must be a subset of getAPIFields().
reduceRecord()
public
reduceRecord(array<string|int, mixed> $record) : array<string|int, mixed>
Parameters
- $record : array<string|int, mixed>
-
The record as associative array
Return values
array<string|int, mixed> —The new record