You are here

public function BiblioStyleImportInterface::importData in Bibliography Module 7.3

Import data to Biblio.

Parameters

$data: String of data.

array $options: Array of options to pass to the Biblio style.

Return value

Array keyed with:

  • 'succuess': Array of unsaved Biblio objects.
  • 'error': Array of data that could not be imported.

    $return = array(
      'error' => array(
        array(
          'data' => 'data sent to import',
          'error' => 'error message',
        ),
      ),
    ),
    
1 method overrides BiblioStyleImportInterface::importData()
BiblioStyleBibtex::importData in plugins/biblio_style/bibtex/BiblioStyleBibtex.class.php
@inheritdoc

File

plugins/biblio_style/abstract.inc, line 57

Class

BiblioStyleImportInterface
Biblio Style interface for a style that supports import.

Code

public function importData($data, $options = array());