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
Afficher le fichier Open project: factual/factual-php-driver Class Usage Examples

Protected Properties

Свойство Type Description
$debug
$values

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
toJsonStr ( $var ) : string
urlPair ( $name, $val )

Method Details

add() public méthode

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

addArray() public méthode

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

addEntity() public méthode

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

debug() public méthode

Turns on debugging and multiple results
public debug ( )

toJsonStr() protected méthode

protected toJsonStr ( $var ) : string
Résultat string

toUrlQuery() public méthode

public toUrlQuery ( ) : string
Résultat string

urlPair() protected méthode

protected urlPair ( $name, $val )

Property Details

$debug protected_oe property

protected $debug

$values protected_oe property

protected $values