Class OmeroConnection
Handles communication to an Omero server.
Namespace: hrm
Package: hrm
Located at OmeroConnection.php
Methods summary
public
|
#
__construct( string $omeroUser, string $omeroPass )
OmeroConnection constructor.
OmeroConnection constructor.
Parameters
- $omeroUser
- User name for the OMERO server.
- $omeroPass
- Password for the OMERO server.
|
public
string
|
#
downloadFromOMERO( string $images, hrm\Fileserver $fileServer )
Retrieve selected images from the OMERO server.
Retrieve selected images from the OMERO server.
Parameters
- $images
- JSON object with IDs and names of selected images.
- $fileServer
- Instance of the Fileserver class.
Returns
string A human readable string reporting success and failed images.
|
public
string
|
#
uploadToOMERO( array $postedParams, hrm\Fileserver $fileServer )
Attach a deconvolved image to an OMERO dataset.
Attach a deconvolved image to an OMERO dataset.
Parameters
- $postedParams
- An alias of $_POST with names of selected files.
- $fileServer
- An instance of the Fileserver class.
Returns
string A human readable string reporting success and failed images.
|
public
string
|
#
getChildren( string $id )
Get the children of a given node.
Get the children of a given node.
Parameters
- $id
- The id string of the node, e.g. 'Project:23'
Returns
string JSON string with the child-nodes.
|
public
|
#
resetNodes( )
Reset the array keeping the node data.
Reset the array keeping the node data.
This is useful to refresh the tree, as all calls to getChildren() will
then request up-to-date information from OMERO.
|
Properties summary
public
boolean
|
$loggedIn
Boolean to know if the login was successful.
Boolean to know if the login was successful.
|
|