Method:
grabNote()
Class:
EXPORTCOMMON
Method Call:
include_once("core/file/export/EXPORTCOMMON.php");
$common = new EXPORTCOMMON($this->db);
STRING $common->grabNote(ASSOC ARRAY: $row, STRING: $exportType);
Description:
This method returns the note of a WIKINDX resource.
$row is an associative array returned by SQL::fetchAssoc().
$exportType is a string indicating the target format ('endnote', 'bibtex', 'ris' etc.) and whitespace characters within the note will be dealt with differently according to value here.
Usage:include_once("core/file/export/EXPORTCOMMON.php"); $common = new EXPORTCOMMON($this->db); while($row = $this->db->fetchAssoc($sth)) $note = $common->grabNote($row, 'bibtex');