Class shardimage\shardimagephp\services\JobService
Inheritance | shardimage\shardimagephp\services\JobService » shardimage\shardimagephp\services\Service » shardimage\shardimagephpapi\base\BaseObject |
---|
Shardimage job service.
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$client | shardimage\shardimagephp\auth\Client | Shardimage API Client | shardimage\shardimagephp\services\Service |
$lastError | mixed | Last error in the service | shardimage\shardimagephp\services\Service |
$version | string | Shardimage module version | shardimage\shardimagephp\services\Service |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
ensureClass() | Creates an object from the given parameters. | shardimage\shardimagephpapi\base\BaseObject |
init() | Custom initialization. | shardimage\shardimagephpapi\base\BaseObject |
sendRequest() | Sends the request to the Shardimage API and returns with the Response object or the ID for the request if deferred. | shardimage\shardimagephp\services\Service |
Method Details
Deletes a job.
public boolean delete ( $params, $optParams = [] ) | ||
$params | shardimage\shardimagephp\models\job\Job|string | Job object or Job ID |
$optParams | array | Optional API parameters |
Returns whether the job exists.
public boolean exists ( $params, $optParams = [] ) | ||
$params | shardimage\shardimagephp\models\job\Job|string | Job object or Job ID |
$optParams | array | Optional API parameters |
Shardimage controller
public static void getController ( ) |
Shardimage module
public static void getModule ( ) |
Fetches a job.
public shardimage\shardimagephp\models\job\Job|null view ( $params, $optParams = [] ) | ||
$params | shardimage\shardimagephp\models\job\Job|string | Job object or Job ID |
$optParams | array | Optional API parameters |