SRFHash Class Reference

Inherits SRFArray.

List of all members.

Public Member Functions

 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

 deliverPageTitle ($value, $link=false)
 deliverPageProperties ($perProperty_items)
 deliverQueryResultPages ($perPage_items)
 createArray ($hash)
 Helper function to create a new Array within 'Arrays' extension.
 handleParameters (array $params, $outputmode)
 Read an array of parameter values given as key-value-pairs and initialise internal member fields accordingly.

Protected Attributes

 $mLastPageTitle


Detailed Description

Definition at line 406 of file SRF_Array.php.


Member Function Documentation

SRFHash::deliverPageTitle ( value,
link = false 
) [protected]

Reimplemented from SRFArray.

Definition at line 409 of file SRF_Array.php.

References SRFArray::deliverSingleValue().

SRFHash::deliverPageProperties ( perProperty_items  )  [protected]

Reimplemented from SRFArray.

Definition at line 413 of file SRF_Array.php.

SRFHash::deliverQueryResultPages ( perPage_items  )  [protected]

Reimplemented from SRFArray.

Definition at line 418 of file SRF_Array.php.

SRFHash::createArray ( array  )  [protected]

Helper function to create a new Array within 'Arrays' extension.

Takes care of different versions as well as the old 'ArrayExtension'.

ToDo: is there a way to get the actual parser which has started the query?

Reimplemented from SRFArray.

Definition at line 426 of file SRF_Array.php.

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

Read an array of parameter values given as key-value-pairs and initialise internal member fields accordingly.

Possibly overwritten (extended) by subclasses.

Since:
1.6
Parameters:
array $params
$outputmode 

Reimplemented from SRFArray.

Definition at line 454 of file SRF_Array.php.

SRFHash::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 SRFArray.

Definition at line 459 of file SRF_Array.php.

References SMWResultPrinter::$params.


Member Data Documentation

SRFHash::$mLastPageTitle [protected]

Definition at line 407 of file SRF_Array.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