__construct

Description

public Search::__construct( Client $client [, array $data = null ] )

Parameters

$client
An eContext\Client object which is used to perform interaction with the eContext API
$data
An optional parameter for the constructor. A keyword search array describing the search phrase and optional filters that may be included in a search. Information about keyword search queries may be found in the eContext API Keyword Search documentation

Return Values

Returns a new Search instance.