WIKINDX METHODS

Method:
keywordFormat()

Class:
EXPORTCOMMON

Method Call:
include_once("core/file/export/EXPORTCOMMON.php");
$common = new EXPORTCOMMON($this->db);
STRING $common->keywordFormat(ASSOC ARRAY: $row, STRING: $exportType);

Description:
This method returns the keywords of a WIKINDX resource as a single string.

$row is an associative array returned by SQL::fetchAssoc().

$exportType is a string indicating the target format ('endnote', 'bibtex', 'ris' etc.) and delimiters between keywords will be dealt with differently according to value here.

Usage:
Example:
	include_once("core/file/export/EXPORTCOMMON.php");
	$common = new EXPORTCOMMON($this->db);
	while($row = $this->db->fetchAssoc($sth))
		$keywords = $common->keywordFormat($row, 'bibtex');

WIKINDX home      WIKINDX usage      WIKINDX classes