blend4php  v0.1
A PHP API for interacting with Galaxy
 All Classes Functions Variables Pages
GalaxySearch Class Reference

Public Member Functions

 __construct (GalaxyInstance $galaxy)
 
 create ($query)
 

Constructor & Destructor Documentation

GalaxySearch::__construct ( GalaxyInstance  $galaxy)

Implements the Search constructor.

Parameters
GalaxyInstance$galaxyA Galaxy Instance object.
Returns
An instance of a search object.

Member Function Documentation

GalaxySearch::create (   $query)

Performs a search of the various elements in Galaxy.

Corresponds to the galaxy method/path: Post /api/search

Parameters
$queryMust be a valid, lowercase, SQL expression, example: 'select * from history where id = \'290670ee50ab85f0\''
Returns
An array of the Galaxy elements that matches the query.

The documentation for this class was generated from the following file: