You are here

interface BiblioStyleImportInterface in Bibliography Module 7.3

Biblio Style interface for a style that supports import.

Hierarchy

Expanded class hierarchy of BiblioStyleImportInterface

All classes that implement BiblioStyleImportInterface

File

plugins/biblio_style/abstract.inc, line 32

View source
interface BiblioStyleImportInterface extends BiblioStyleInterface {

  /**
   * Import data to Biblio.
   *
   * @param $data
   *   String of data.
   * @param array $options
   *   Array of options to pass to the Biblio style.
   *
   * @return
   *   Array keyed with:
   *   - 'succuess': Array of unsaved Biblio objects.
   *   - 'error': Array of data that could not be imported.
   *     @code
   *     $return = array(
   *       'error' => array(
   *         array(
   *           'data' => 'data sent to import',
   *           'error' => 'error message',
   *         ),
   *       ),
   *     ),
   *     @endcode
   */
  public function importData($data, $options = array());

}

Members

Namesort descending Modifiers Type Description Overrides
BiblioStyleImportInterface::importData public function Import data to Biblio. 1
BiblioStyleInterface::render public function Render the Biblio according to the style plugin. 1
BiblioStyleInterface::__construct public function Constructor for the notifier. 1