You are here

function views_data_export_get in Views data export 7.4

Same name and namespace in other branches
  1. 6.3 views_data_export.module \views_data_export_get()
  2. 6 views_data_export.module \views_data_export_get()
  3. 6.2 views_data_export.module \views_data_export_get()
  4. 7 views_data_export.module \views_data_export_get()
  5. 7.3 views_data_export.module \views_data_export_get()

Get the information about a previous export.

2 calls to views_data_export_get()
views_data_export_plugin_display_export::execute in plugins/views_data_export_plugin_display_export.inc
Execute this display handler.
_drush_views_data_export_batch_finished in ./views_data_export.drush.inc
Get's called at the end of the drush batch process that generated our export

File

./views_data_export.module, line 213
Provides the ability to export to specific

Code

function views_data_export_get($export_id) {
  $object = db_query("SELECT * FROM {views_data_export} WHERE eid = :eid", array(
    ':eid' => (int) $export_id,
  ))
    ->fetch();
  if ($object) {
    $object->sandbox = unserialize($object->sandbox);
  }
  return $object;
}