WIKINDX METHODS

Method:
titleFormat()

Class:
EXPORTCOMMON

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

Description:
This method returns the title of a WIKINDX resource. A WIKINDX title is stored in three fields in the database: title, subtitle and noSort so this method returns a single string comprising those three fields.

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

Usage:
Example:
	include_once("core/file/export/EXPORTCOMMON.php");
	$common = new EXPORTCOMMON($this->db);
	while($row = $this->db->fetchAssoc($sth))
		$title = $common->titleFormat($row);

WIKINDX home      WIKINDX usage      WIKINDX classes