This method reacts to GET Requests, the upload method uses POST with GET parameters, we can not surely know, where it arrives (server dependent i think)
This methods reacts to POST Requests the upload method uses POST with GET parameters, we can not surely know, where it arrives (server dependent i think)
| static delete |
( |
|
$_DELETE | ) |
|
|
static |
This methods reacts to DELETE Requests
| static getFileContractList |
( |
| ) |
|
|
staticprivate |
Gets a list of all FileContracts
| static getFileContract |
( |
|
$id | ) |
|
|
staticprivate |
Gets a single FileContract
- Parameters
-
| $id | - the id of the FileContract to get |
| static createFileContract |
( |
| ) |
|
|
staticprivate |
creates a new FileContract
| static modifyFileContract |
( |
| ) |
|
|
staticprivate |
| static uploadfile |
( |
|
$for | ) |
|
|
staticprivate |
Saves a file
- Parameters
-
| $for | - the id of the contract to save for |
- Exceptions
-
| static deleteFileContract |
( |
|
$_DELETE | ) |
|
|
staticprivate |
deletes a FileContract
- Parameters
-
| static human_filesize |
( |
|
$bytes, |
|
|
|
$decimals = 2 |
|
) |
| |
|
staticprivate |
The documentation for this class was generated from the following file: