class MigrateDestinationRole in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/destinations/user.inc \MigrateDestinationRole
Hierarchy
- class \MigrateDestination
- class \MigrateDestinationTable
- class \MigrateDestinationRole
- class \MigrateDestinationTable
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateDestination:: |
protected | property | Maintain stats on the number of destination objects created or updated. | |
MigrateDestination:: |
protected | property | ||
MigrateDestination:: |
public | function | ||
MigrateDestination:: |
public | function | ||
MigrateDestination:: |
public | function | Reset numCreated and numUpdated back to 0. | |
MigrateDestinationRole:: |
public static | function |
Get the key definition for the role table. Overrides MigrateDestinationTable:: |
|
MigrateDestinationRole:: |
public | function |
Null constructor Overrides MigrateDestinationTable:: |
|
MigrateDestinationTable:: |
protected | property | The schema of the current table. | |
MigrateDestinationTable:: |
protected | property | The name of the current table. | |
MigrateDestinationTable:: |
public | function | Give handlers a shot at modifying the object (or taking additional action) after saving it. | |
MigrateDestinationTable:: |
public | function |
Returns a list of fields available to be mapped. Overrides MigrateDestination:: |
|
MigrateDestinationTable:: |
public | function |
Import a single row. Overrides MigrateDestination:: |
|
MigrateDestinationTable:: |
public | function | Give handlers a shot at modifying the object before saving it. | |
MigrateDestinationTable:: |
public | function | Delete a single row. | |
MigrateDestinationTable:: |
public | function |
Derived classes must implement __toString(). Overrides MigrateDestination:: |