\Dewdrop\FieldsHelper

Namespaces

CellRenderer
CsvCell
EditControl
SelectFilter
TableCell

Interfaces

CellRendererInterface This is an interface shared by the CsvCell and TableCell classes. It allows other classes to interact with with CsvCell or TableCell objects interchangeably.
HelperInterface All Fields API helpers must implement this interface. There is a lot of information about the helper API in HelperAbstract.
SelectModifierInterface This interface is for all field helpers that modify Select objects (e.g. sorting, filtering, etc.).

Classes

CsvCell The CsvCell helper actually composes 2 simpler helpers that are useful when customizing the rendering of a CSV export:
EditControl This helper manages the rendering of edit controls for fields. It composes a helper for the control itself and a helper for its label. These helpers have access to a View object, so they can use view helpers for their control rendering.
HelperAbstract Helpers in the Dewdrop Fields API allow you to inject custom code into loops and other structures that would normally be tricky to customize.
InputFilter This helper can provide Zend\InputFilter\Inputs for a supplied field.
SaveHandler This helper will take fields returning an instance of SaveHandlerInterface and call the save() method on that returned object. Allows you to include additional save logic on a field that will be triggered after the core save logic in RowEditor.
SelectCallback Allow users to modify a listing's Select using a callback. Can be useful if you don't need all the stock filtering and sorting logic for your specific case.
SelectDeletedRecords This helper allows for a listing to be filtered to either show or hide deleted records.
SelectFilter
SelectPaginate This helper paginates a Select object so that a single page of a listing can be retrieved at a time. Yuo can adjust the number of records to return per page.
SelectSort This helper allow you to sort a \Dewdrop\Db\Select object by leveraging the Field API. In the case of database-related fields, this helper will auto-detect the data type and other information from the DB schema to determine a reasonable default approach for sorting. For other fields, you will have to specify a custom sort callback.
TableCell The TableCell helper actually composes 3 simpler helpers that are useful when customizing the rendering an HTML table: