Public Member Functions | |
| getName () | |
| (non-PHPdoc) | |
| getResult (SMWQueryResult $results, array $params, $outputmode) | |
| (non-PHPdoc) | |
| getParameters () | |
| (non-PHPdoc) | |
Static Public Member Functions | |
| static | addNumbersForDataItem (SMWDataItem $dataItem, array &$numbers) |
| Gets a list of all numbers contained in a dataitem. | |
Protected Member Functions | |
| getResultText (SMWQueryResult $res, $outputmode) | |
| (non-PHPdoc) | |
| getNumbers (SMWQueryResult $res) | |
| Gets a list of all numbers. | |
Definition at line 15 of file SRF_Math.php.
| SRFMath::getName | ( | ) |
(non-PHPdoc)
Reimplemented from SMWResultPrinter.
Definition at line 21 of file SRF_Math.php.
| SRFMath::getResult | ( | SMWQueryResult $ | results, | |
| array $ | params, | |||
| $ | outputmode | |||
| ) |
(non-PHPdoc)
Reimplemented from SMWResultPrinter.
Definition at line 29 of file SRF_Math.php.
References getResultText(), and SMWResultPrinter::handleParameters().
| SRFMath::getResultText | ( | SMWQueryResult $ | res, | |
| $ | outputmode | |||
| ) | [protected] |
(non-PHPdoc)
Reimplemented from SMWResultPrinter.
Definition at line 39 of file SRF_Math.php.
References getNumbers().
Referenced by getResult().
| SRFMath::getNumbers | ( | SMWQueryResult $ | res | ) | [protected] |
Gets a list of all numbers.
| SMWQueryResult | $res |
Definition at line 79 of file SRF_Math.php.
Referenced by getResultText().
| static SRFMath::addNumbersForDataItem | ( | SMWDataItem $ | dataItem, | |
| array &$ | numbers | |||
| ) | [static] |
Gets a list of all numbers contained in a dataitem.
| SMWDataItem | $dataItem | |
| array | $numbers |
Definition at line 101 of file SRF_Math.php.
References SMWDataItem::TYPE_CONTAINER, and SMWDataItem::TYPE_NUMBER.
| SRFMath::getParameters | ( | ) |
(non-PHPdoc)
Reimplemented from SMWResultPrinter.
Definition at line 119 of file SRF_Math.php.
References SMWResultPrinter::$params.
1.5.6