You are here

function backup_migrate_item::get_schema in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_item::get_schema()
  2. 6.3 includes/crud.inc \backup_migrate_item::get_schema()
  3. 6.2 includes/crud.inc \backup_migrate_item::get_schema()
  4. 7.3 includes/crud.inc \backup_migrate_item::get_schema()
  5. 7.2 includes/crud.inc \backup_migrate_item::get_schema()

Get the schema for the item type.

6 calls to backup_migrate_item::get_schema()
backup_migrate_item::decode_db_row in includes/crud.inc
Decode a loaded db row (unserialize necessary fields).
backup_migrate_item::get_machine_name_field in includes/crud.inc
Get the machine name field name from the schema.
backup_migrate_item::get_primary_key in includes/crud.inc
Get the primary key field title from the schema.
backup_migrate_item::get_serialized_fields in includes/crud.inc
Return the fields which must be serialized before saving to the db.
backup_migrate_item::load_row in includes/crud.inc
Load an existing item from an database (serialized) array.

... See full list

File

includes/crud.inc, line 586
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 get_schema() {
  return drupal_get_schema($this->db_table);
}