class MigrateHmsFieldHandler in HMS Field 7
Same name and namespace in other branches
- 8 hms_field.migrate.inc \MigrateHmsFieldHandler
Migrate handler for HMS fields, so we can import values to these fields. You should give the integer (seconds) value to the mapping.
Hierarchy
- class \MigrateHandler
- class \MigrateFieldHandler
- class \MigrateSimpleFieldHandler
- class \MigrateHmsFieldHandler
- class \MigrateSimpleFieldHandler
- class \MigrateFieldHandler
Expanded class hierarchy of MigrateHmsFieldHandler
File
- ./
hms_field.migrate.inc, line 12 - Support for the Migrate API.
View source
class MigrateHmsFieldHandler extends MigrateSimpleFieldHandler {
/**
* This does all the work. Mainly register the field type.
*/
public function __construct() {
parent::__construct(array(
'value_key' => 'value',
'skip_empty' => FALSE,
));
$this
->registerTypes(array(
'hms_field',
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateFieldHandler:: |
function | Determine the language of the field. | ||
MigrateHandler:: |
protected | property | List of other handler classes which should be invoked before the current one. | |
MigrateHandler:: |
protected | property | List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc. | |
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | Does this handler handle the given type? | 1 |
MigrateHandler:: |
protected | function | Register a list of types handled by this class | |
MigrateHmsFieldHandler:: |
public | function |
This does all the work. Mainly register the field type. Overrides MigrateSimpleFieldHandler:: |
|
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | function | Returns TRUE only for values which are not NULL. | 2 |
MigrateSimpleFieldHandler:: |
public | function |