| 1 | <?php |
||
| 11 | class Execution extends Resource |
||
| 12 | { |
||
| 13 | |||
| 14 | protected $actions = [ |
||
| 15 | "abort" => ["xml"], // /api/V/execution/[ID]/abort |
||
| 16 | "output" => ["xml"], // /api/V/execution/[ID]/output |
||
| 17 | "output/state" => ["xml"], // /api/V/execution/[ID]/output/state |
||
| 18 | "state" => ["xml"], // /api/V/execution/[ID]/state |
||
| 19 | "input/files" => ["xml"], // /api/V/execution/[ID]/input/files |
||
| 20 | ]; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param HttpClient $client |
||
| 24 | * @param string $name : Execution ID |
||
| 25 | */ |
||
| 26 | 21 | public function __construct(HttpClient $client, $name = null) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Find execution info by ID |
||
| 34 | * @param string $alt |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | 3 | public function find($alt = "xml") |
|
| 42 | } |
||
| 43 |