PHP Class Purl\Query

Author: Jonathan H. Wage ([email protected])
Inheritance: extends purl\AbstractPart
Show file Open project: jwage/purl Class Usage Examples

Public Methods

Method Description
__construct ( string $query = null ) Construct a new Query instance.
__toString ( )
getQuery ( ) : string Builds a string query from this Query instance internal data and returns it.
setQuery ( $query ) Set the string query for this Query instance and sets initialized to false.

Protected Methods

Method Description
doInitialize ( )

Method Details

__construct() public method

Construct a new Query instance.
public __construct ( string $query = null )
$query string

__toString() public method

public __toString ( )

doInitialize() protected method

protected doInitialize ( )

getQuery() public method

Builds a string query from this Query instance internal data and returns it.
public getQuery ( ) : string
return string

setQuery() public method

Set the string query for this Query instance and sets initialized to false.
public setQuery ( $query )