function backup_migrate_crud_type_load

cis7 backup_migrate_crud_type_load($type)
cle7 backup_migrate_crud_type_load($type)
elmsmedia7 backup_migrate_crud_type_load($type)
icor7 backup_migrate_crud_type_load($type)
meedjum_blog7 backup_migrate_crud_type_load($type)
mooc7 backup_migrate_crud_type_load($type)

Get a generic object of the given type to be used for static-like functions.

I'm not using actual static method calls since they don't work on variables prior to PHP 5.3.0

9 calls to backup_migrate_crud_type_load()
backup_migrate_crud_create_item in sites/all/modules/ulmus/backup_migrate/includes/
Create a new item of the given type.
backup_migrate_crud_get_item in sites/all/modules/ulmus/backup_migrate/includes/
Get an item of the specified type.
backup_migrate_crud_get_items in sites/all/modules/ulmus/backup_migrate/includes/
Get all items of the given type.
backup_migrate_crud_menu in sites/all/modules/ulmus/backup_migrate/includes/
Get the menu items handled by the CRUD code.
backup_migrate_crud_ui_create in sites/all/modules/ulmus/backup_migrate/includes/
Page callback to create a new item.

... See full list


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


function backup_migrate_crud_type_load($type) {
  $out = NULL;
  $types = backup_migrate_crud_types();
  if (!empty($types[$type])) {
    $info = $types[$type];
    if ($info['include']) {
    $out = new $info['class'];
  return $out;