blend4php
v0.1
A PHP API for interacting with Galaxy
|
Public Member Functions | |
__construct (GalaxyInstance $galaxy) | |
index () | |
show ($params) | |
create ($params) | |
getPermissions ($params) | |
setPermissions ($params) | |
delete ($params) | |
update ($params) | |
GalaxyFolders::__construct | ( | GalaxyInstance | $galaxy | ) |
The Folders constructor.
GalaxyInstance | $galaxy | A GalaxyInstance object. |
GalaxyFolders::create | ( | $params | ) |
Create a new folder.
Corresponds to the API function/path: POST /api/folders/{encoded_parent_folder_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyFolders::delete | ( | $params | ) |
Mark the folder as 'deleted' or 'undeleted'.
Corresponds to the Galaxy API function at DELETE /api/folders/{folder_id}/
Only admin users can delete/undelete folders
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyFolders::getPermissions | ( | $params | ) |
Load all permissions for the folder with the given id.
Corresponds to the Galaxy API/Path: GET /api/folders/{folder_id}/permissions
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyFolders::index | ( | ) |
Retreive information about folders.
Corresponds to the Galaxy API function/path: GET /api/folders/
GalaxyFolders::setPermissions | ( | $params | ) |
Set permissions for a specified folder.
Corresponds to the Galaxy API function/path at: POST /api/folders/{folder_id}/permissions There are 3 options that can be manipulated:
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyFolders::show | ( | $params | ) |
Retreive information about a specific folder
Corresponds to the Galaxy API function/path: GET /api/folders/{folder_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyFolders::update | ( | $params | ) |
Updated the folder's name and description.
Corresponds to the Galaxy API/path at: PATCH /api/folders/{folder_id}/
Only admin users can update folders.
$params | An associative array containing the input parameters for this function. The following parameters are available: |