Class SparqlEngine_ResultRenderer_HTML

Description

Implements interfaces:

XML result renderer for SparqlEngine

Located in /sparql/SparqlEngine/ResultRenderer/HTML.php (line 13)


	
			
Variable Summary
boolean $bWrap
Method Summary
string convertFromResult (array $arVartable, Query $query, SparqlEngine $engine)
void createTableFromRecords ( $arVartable)
string createValue ( $value, ADORecordSet $dbRecordSet, string $strVarBase)
void getHtmlBlank ( $value)
void getHtmlLiteral ( $value,  $language,  $datatype)
void getHtmlNull ()
void getHtmlResource ( $value)
void wrapCode ( $strCode)
Variables
boolean $bWrap = true (line 19)

If the result HTML should be wrapped in a div

  • access: protected
Methods
convertFromResult (line 32)

Converts the database results into the output format and returns the result.

  • return: HTML result
  • access: public
string convertFromResult (array $arVartable, Query $query, SparqlEngine $engine)
  • array $arVartable: Variable table
  • Query $query: SPARQL query object
  • SparqlEngine $engine: Sparql Engine to query the database

Implementation of:
SparqlEngine_ResultRenderer::convertFromResult()
Converts the database results into the desired output format and returns the result.
createTableFromRecords (line 88)
  • access: protected
void createTableFromRecords ( $arVartable)
  • $arVartable
createValue (line 138)

Creates an RDF object object contained in the given $dbRecordSet object.

  • return: HTML code
  • see: convertFromDbResult() to understand $strVarBase necessity
  • access: protected
string createValue ( $value, ADORecordSet $dbRecordSet, string $strVarBase)
  • ADORecordSet $dbRecordSet: Record set returned from ADOConnection::Execute()
  • string $strVarBase: Prefix of the columns the recordset fields have.
  • $value
getHtmlBlank (line 170)
  • access: protected
void getHtmlBlank ( $value)
  • $value
getHtmlLiteral (line 184)
  • access: protected
void getHtmlLiteral ( $value,  $language,  $datatype)
  • $value
  • $language
  • $datatype
getHtmlNull (line 163)
  • access: protected
void getHtmlNull ()
getHtmlResource (line 177)
  • access: protected
void getHtmlResource ( $value)
  • $value
wrapCode (line 74)
  • access: protected
void wrapCode ( $strCode)
  • $strCode

Documentation generated on Fri, 1 Jun 2007 16:49:18 +0200 by phpDocumentor 1.3.2