PHP Class ResolveQuery

This is a refactoring of the Factual Driver by Aaron: https://github.com/Factual/factual-java-driver
Author: Tyler
Inheritance: extends FactualQuery
Exibir arquivo Open project: factual/factual-php-driver Class Usage Examples

Protected Properties

Property Type Description
$debug
$values

Public Methods

Method Description
add ( $key, $val ) Adds name/key pair to query for eventual resolution
addArray ( $keyValueArray ) Adds array of name/key pairs to query for eventual resolution
addEntity ( $entity ) Adds factual entity to query for resolution.
debug ( ) Turns on debugging and multiple results
toUrlQuery ( ) : string

Protected Methods

Method Description
toJsonStr ( $var ) : string
urlPair ( $name, $val )

Method Details

add() public method

Adds name/key pair to query for eventual resolution
public add ( $key, $val )

addArray() public method

Adds array of name/key pairs to query for eventual resolution
public addArray ( $keyValueArray )

addEntity() public method

Use for refreshing chached entityies that do not redirect
public addEntity ( $entity )

debug() public method

Turns on debugging and multiple results
public debug ( )

toJsonStr() protected method

protected toJsonStr ( $var ) : string
return string

toUrlQuery() public method

public toUrlQuery ( ) : string
return string

urlPair() protected method

protected urlPair ( $name, $val )

Property Details

$debug protected_oe property

protected $debug

$values protected_oe property

protected $values