Class SearchParameter
Represents a generic search parameter.
Class SearchParameter
Namespace: Gedcomx\Rs\Client\Util
Package: Gedcomx\Rs\Client\Util
Located at Rs/Client/Util/SearchParameter.php
Package: Gedcomx\Rs\Client\Util
Located at Rs/Client/Util/SearchParameter.php
Methods summary
public
|
#
__construct( $prefix, $name, $value, $exact )
Constructs a new search parameter using the specified parameters. |
public
mixed
|
#
getPrefix( )
Gets the prefix to apply to the search parameter. This is used for controlling whether a parameter is required or not. The prefix can take on three forms: "+": The parameter search value should be found in the search results null: The parameter search filter is optional "-": The parameter search value should not found in the search results (i.e., perform a NOT seaarch) |
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
string
|
#
__toString( )
Returns a string that is a syntactically conformant search query that can be used in REST API search requests. |