function backup_migrate_item::create

cis7 crud.inc backup_migrate_item::create($params = array())
cle7 crud.inc backup_migrate_item::create($params = array())
elmsmedia7 crud.inc backup_migrate_item::create($params = array())
icor7 crud.inc backup_migrate_item::create($params = array())
meedjum_blog7 crud.inc backup_migrate_item::create($params = array())
mooc7 crud.inc backup_migrate_item::create($params = array())

Create a new items with the given input. Doesn't load the parameters, but could use them to determine what type to create.

1 call to backup_migrate_item::create()
backup_migrate_item::all_items in sites/all/modules/ulmus/backup_migrate/includes/crud.inc
Get all of the given items.
1 method overrides backup_migrate_item::create()
backup_migrate_destination::create in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Create a new destination of the correct type.

File

sites/all/modules/ulmus/backup_migrate/includes/crud.inc, line 609
CRUD functions for backup and migrate types (schedules, profiles etc.).

Class

backup_migrate_item
A base class for items which can be stored in the database, listed, edited, deleted etc.

Code

function create($params = array()) {
  $type = get_class($this);
  return new $type($params);
}
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.