SRFGooglePie Class Reference

A query printer for pie charts using the Google Chart API. More...

Inherits SMWResultPrinter.

List of all members.

Public Member Functions

 getName ()
 Get a human readable label for this printer.
 getParameters ()
 A function to describe the allowed parameters of a query using any specific format - most query printers should override this function.

Protected Member Functions

 handleParameters (array $params, $outputmode)
 (non-PHPdoc)
 getResultText (SMWQueryResult $res, $outputmode)
 Return serialised results in specified format.

Protected Attributes

 $m_width = 250
 $m_heighth = 100


Detailed Description

A query printer for pie charts using the Google Chart API.

Note:
AUTOLOADED

Definition at line 8 of file SRF_GooglePie.php.


Member Function Documentation

SRFGooglePie::handleParameters ( array $  params,
outputmode 
) [protected]

(non-PHPdoc)

See also:
SMWResultPrinter::handleParameters()

Reimplemented from SMWResultPrinter.

Definition at line 17 of file SRF_GooglePie.php.

SRFGooglePie::getName (  ) 

Get a human readable label for this printer.

The default is to return just the format identifier. Concrete implementations may refer to messages here. The format name is normally not used in wiki text but only in forms etc. hence the user language should be used when retrieving messages.

Returns:
string

Reimplemented from SMWResultPrinter.

Definition at line 24 of file SRF_GooglePie.php.

SRFGooglePie::getResultText ( SMWQueryResult res,
outputmode 
) [protected]

Return serialised results in specified format.

Implemented by subclasses.

Reimplemented from SMWResultPrinter.

Definition at line 28 of file SRF_GooglePie.php.

SRFGooglePie::getParameters (  ) 

A function to describe the allowed parameters of a query using any specific format - most query printers should override this function.

TODO: refactor non-printer params up to the query processor and do all param handling there.

Since:
1.5
Returns:
array of Parameter

Reimplemented from SMWResultPrinter.

Definition at line 68 of file SRF_GooglePie.php.

References SMWResultPrinter::$params.


Member Data Documentation

SRFGooglePie::$m_width = 250 [protected]

Definition at line 10 of file SRF_GooglePie.php.

SRFGooglePie::$m_heighth = 100 [protected]

Definition at line 11 of file SRF_GooglePie.php.


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:45 2012 for Semantic MediaWiki by  doxygen 1.5.6