class MigratePhoneFieldHandler in Phone 7
Same name and namespace in other branches
- 7.2 phone.migrate.inc \MigratePhoneFieldHandler
Wrap Migrate's simple field handler for 'phone' fields.
Hierarchy
- class \MigrateHandler
- class \MigrateFieldHandler
- class \MigrateSimpleFieldHandler
- class \MigratePhoneFieldHandler
- class \MigrateSimpleFieldHandler
- class \MigrateFieldHandler
Expanded class hierarchy of MigratePhoneFieldHandler
File
- ./
phone.migrate.inc, line 34 - phone.migrate.inc Code to implement hook_content_migrate_field_alter, content_migrate_instance_alter() and content_migrate_data_record_alter() on behalf of the former phone module, moved into a separate file for efficiency.
View source
class MigratePhoneFieldHandler extends MigrateSimpleFieldHandler {
public function __construct() {
$this
->registerTypes(array(
'phone',
));
}
}
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 | |
MigratePhoneFieldHandler:: |
public | function |
Construct a simple field handler. Overrides MigrateSimpleFieldHandler:: |
|
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | property | ||
MigrateSimpleFieldHandler:: |
protected | function | Returns TRUE only for values which are not NULL. | 2 |
MigrateSimpleFieldHandler:: |
public | function |