PHP Class Graphite_Description

显示文件 Open project: cgutteridge/graphite

Public Properties

Property Type Description
$graph
$resource
$routes
$tree

Public Methods

Method Description
__construct ( $resource ) # header, footer
_jsonify ( $tree, $resource, &$json )
_toSPARQL ( $tree, $suffix, $in_dangler = null, $sparqlprefix = "" )
_tograph ( $tree, $resource, &$new_graph )
addRoute ( $route )
getFormats ( ) # end _toSPARQL
handleFormat ( $format )
loadSPARQL ( $endpoint, $debug = false )
toDebug ( )
toGraph ( )
toJSON ( )

Method Details

__construct() public method

# header, footer
public __construct ( $resource )

_jsonify() public method

public _jsonify ( $tree, $resource, &$json )

_toSPARQL() public method

public _toSPARQL ( $tree, $suffix, $in_dangler = null, $sparqlprefix = "" )

_tograph() public method

public _tograph ( $tree, $resource, &$new_graph )

addRoute() public method

public addRoute ( $route )

getFormats() public method

# end _toSPARQL
public getFormats ( )

handleFormat() public method

public handleFormat ( $format )

loadSPARQL() public method

public loadSPARQL ( $endpoint, $debug = false )

toDebug() public method

public toDebug ( )

toGraph() public method

public toGraph ( )

toJSON() public method

public toJSON ( )

Property Details

$graph public_oe property

public $graph

$resource public_oe property

public $resource

$routes public_oe property

public $routes

$tree public_oe property

public $tree