abstract class field_timer_formatter_base in Field Timer 7.2
Base class.
Hierarchy
- class \field_timer_formatter_base implements field_timer_formatter_interface
Expanded class hierarchy of field_timer_formatter_base
File
- includes/
field_timer_base.inc, line 83 - Contains base help classes to perform field formatter related actions.
View source
abstract class field_timer_formatter_base implements field_timer_formatter_interface {
/**
* Convert field item value to timestamp.
*
* @param array $item Field item.
* @param array $field Field definition.
* @param mixed $key Key to get timestamp from field item.
*
* @return int Timestamp.
*/
protected abstract function getTimestamp($item, $field, $key = '');
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
field_timer_formatter_base:: |
abstract protected | function | Convert field item value to timestamp. | 16 |
field_timer_formatter_interface:: |
public | function | Check if it is possible to enable current formatter. | 3 |
field_timer_formatter_interface:: |
public | function | Get default formatter settings. All settings for each field type will be combined into one array. | 4 |
field_timer_formatter_interface:: |
public | function | Get field type. | 16 |
field_timer_formatter_interface:: |
public | function | Get formatter definition. | 4 |
field_timer_formatter_interface:: |
public | function | Get formatter name. | 4 |
field_timer_formatter_interface:: |
public | function | Get formatter settings form. | 4 |
field_timer_formatter_interface:: |
public | function | Get formatter settings summary. | 4 |
field_timer_formatter_interface:: |
public | function | Render field items. | 4 |