function backup_migrate_item::get_schema in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/crud.inc \backup_migrate_item::get_schema()
- 6.3 includes/crud.inc \backup_migrate_item::get_schema()
- 6.2 includes/crud.inc \backup_migrate_item::get_schema()
- 7.3 includes/crud.inc \backup_migrate_item::get_schema()
- 7.2 includes/crud.inc \backup_migrate_item::get_schema()
Get the schema for the item type.
5 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_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.
- backup_migrate_item::to_array in includes/
crud.inc - Return as an array of values.
File
- includes/
crud.inc, line 358 - 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);
}