og.migrate.inc

  1. cis7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  2. cle7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  3. ecd7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  4. elmsmedia7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  5. harmony7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  6. icor7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  7. meedjum_blog7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
  8. mooc7 sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc

Parent class to OG migration.

Classes

Namesort descending Description
OgEntityMigration

File

sites/all/modules/ulmus/og/includes/migrate/og.migrate.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Parent class to OG migration.
  5. */
  6. abstract class OgEntityMigration extends Migration {
  7. public $keyName = 'id';
  8. public function __construct() {
  9. parent::__construct(MigrateGroup::getInstance('og_7200'));
  10. // Create a map object for tracking the relationships between source
  11. // rows.
  12. if (empty($this->sourceKey)) {
  13. $this->sourceKey = array(
  14. $this->keyName => array(
  15. 'type' => 'int',
  16. 'not null' => TRUE,
  17. ),
  18. );
  19. }
  20. $this->map = new MigrateSQLMap($this->machineName, $this->sourceKey, MigrateDestinationTable::getKeySchema($this->tableName));
  21. $this->source = new MigrateSourceSQL($this->query);
  22. $this->destination = new MigrateDestinationTable($this->tableName);
  23. }
  24. }
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.