You are here

class MigrateValueFieldHandler in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/destinations/fields.inc \MigrateValueFieldHandler

Hierarchy

Expanded class hierarchy of MigrateValueFieldHandler

1 string reference to 'MigrateValueFieldHandler'
migrate_migrate_api in ./migrate.module

File

plugins/destinations/fields.inc, line 245
Support for processing CCK fields

View source
class MigrateValueFieldHandler extends MigrateSimpleFieldHandler {
  public function __construct() {
    parent::__construct(array(
      'value_key' => 'value',
      'skip_empty' => FALSE,
    ));
    $this
      ->registerTypes(array(
      'value',
      'list',
      'list_boolean',
      'list_number',
      'list_text',
      'number_integer',
      'number_decimal',
      'number_float',
    ));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateHandler::$dependencies protected property List of other handler classes which should be invoked before the current one.
MigrateHandler::$typesHandled protected property List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc.
MigrateHandler::getDependencies public function
MigrateHandler::getTypesHandled public function
MigrateHandler::handlesType public function Does this handler handle the given type?
MigrateHandler::registerTypes protected function Register a list of types handled by this class
MigrateSimpleFieldHandler::$fieldValueKey protected property
MigrateSimpleFieldHandler::$skipEmpty protected property
MigrateSimpleFieldHandler::notNull protected function Returns TRUE only for values which are not NULL.
MigrateSimpleFieldHandler::prepare public function
MigrateValueFieldHandler::__construct public function Construct a simple field handler. Overrides MigrateSimpleFieldHandler::__construct