function backup_migrate_item::decode_db_row

cis7 backup_migrate_item::decode_db_row($data)
cle7 backup_migrate_item::decode_db_row($data)
elmsmedia7 backup_migrate_item::decode_db_row($data)
icor7 backup_migrate_item::decode_db_row($data)
meedjum_blog7 backup_migrate_item::decode_db_row($data)
mooc7 backup_migrate_item::decode_db_row($data)

Decode a loaded db row (unserialize necessary fields).

1 call to backup_migrate_item::decode_db_row()
backup_migrate_item::all_items in sites/all/modules/ulmus/backup_migrate/includes/
Get all of the given items.


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


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


function decode_db_row($data) {
  $params = array();
  $schema = $this->get_schema();
  // Load fields as specified in the schema.
  foreach ($schema['fields'] as $field => $info) {
    $params[$field] = empty($info['serialize']) ? $data[$field] : unserialize($data[$field]);
  return $params;