You are here

class MigrateDestinationRole in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/destinations/user.inc \MigrateDestinationRole

Hierarchy

Expanded class hierarchy of MigrateDestinationRole

File

plugins/destinations/user.inc, line 237
Support for user destinations.

View source
class MigrateDestinationRole extends MigrateDestinationTable {
  public function __construct() {
    parent::__construct('role');
  }

  /**
   * Get the key definition for the role table.
   *
   * @param $dummy
   *  PHP is picky - it throws E_STRICT notices if we don't have a parameter
   *  because MigrateDestinationTable has one.
   */
  public static function getKeySchema($dummy = NULL) {
    return MigrateDestinationTable::getKeySchema('role');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateDestination::$numCreated protected property Maintain stats on the number of destination objects created or updated.
MigrateDestination::$numUpdated protected property
MigrateDestination::getCreated public function
MigrateDestination::getUpdated public function
MigrateDestination::resetStats public function Reset numCreated and numUpdated back to 0.
MigrateDestinationRole::getKeySchema public static function Get the key definition for the role table. Overrides MigrateDestinationTable::getKeySchema
MigrateDestinationRole::__construct public function Null constructor Overrides MigrateDestinationTable::__construct
MigrateDestinationTable::$schema protected property The schema of the current table.
MigrateDestinationTable::$tableName protected property The name of the current table.
MigrateDestinationTable::complete public function Give handlers a shot at modifying the object (or taking additional action) after saving it.
MigrateDestinationTable::fields public function Returns a list of fields available to be mapped. Overrides MigrateDestination::fields
MigrateDestinationTable::import public function Import a single row. Overrides MigrateDestination::import
MigrateDestinationTable::prepare public function Give handlers a shot at modifying the object before saving it.
MigrateDestinationTable::rollback public function Delete a single row.
MigrateDestinationTable::__toString public function Derived classes must implement __toString(). Overrides MigrateDestination::__toString