Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
SRF\Graph\GraphPrinter Class Reference
Inheritance diagram for SRF\Graph\GraphPrinter:
Inheritance graph
[legend]
Collaboration diagram for SRF\Graph\GraphPrinter:
Collaboration graph
[legend]

Public Member Functions

 getName ()
 
 hasMissingDependency ()
 
 getDependencyError ()
 
 getParamDefinitions (array $definitions)
 

Public Attributes

const NODELABEL_DISPLAYTITLE = 'displaytitle'
 

Static Public Attributes

static $NODE_LABELS
 
static $NODE_SHAPES
 
static $ARROW_SHAPES
 

Protected Member Functions

 handleParameters (array $params, $outputmode)
 
 getResultText (SMWQueryResult $res, $outputmode)
 
 processResultRow (array $row)
 

Member Function Documentation

◆ getDependencyError()

SRF\Graph\GraphPrinter::getDependencyError ( )
See also
ResultPrinterDependency::getDependencyError

◆ getParamDefinitions()

SRF\Graph\GraphPrinter::getParamDefinitions ( array  $definitions)
See also
SMWResultPrinter::getParamDefinitions
Since
1.8
Parameters
$definitionsarray of IParamDefinition
Returns
array of IParamDefinition|array

◆ getResultText()

SRF\Graph\GraphPrinter::getResultText ( SMWQueryResult  $res,
  $outputmode 
)
protected
Parameters
SMWQueryResult$res
$outputmode
Returns
string

◆ handleParameters()

SRF\Graph\GraphPrinter::handleParameters ( array  $params,
  $outputmode 
)
protected
See also
SMWResultPrinter::handleParameters()

◆ hasMissingDependency()

SRF\Graph\GraphPrinter::hasMissingDependency ( )
See also
ResultPrinterDependency::hasMissingDependency

◆ processResultRow()

SRF\Graph\GraphPrinter::processResultRow ( array  $row)
protected

Process a result row and create SRF

Since
3.1
Parameters
array$row

Member Data Documentation

◆ $ARROW_SHAPES

SRF\Graph\GraphPrinter::$ARROW_SHAPES
static
Initial value:
= [
'box',
'crow',
'curve',
'icurve',
'diamond',
'dot',
'inv',
'none',
'normal',
'tee',
'vee',
]

◆ $NODE_LABELS

SRF\Graph\GraphPrinter::$NODE_LABELS
static
Initial value:
= [
self::NODELABEL_DISPLAYTITLE,
]

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

About | General disclaimer | Privacy policy