| @@ 32-43 (lines=12) @@ | ||
| 29 | ||
| 30 | use DataAccessTrait; |
|
| 31 | ||
| 32 | public function __construct($process_output) { |
|
| 33 | ||
| 34 | $this->pid = $process_output[0]; |
|
| 35 | $this->name = $process_output[1]; |
|
| 36 | $this->success = $process_output[2]; |
|
| 37 | $this->start = $process_output[3]; |
|
| 38 | $this->end = $process_output[4]; |
|
| 39 | $this->result = $process_output[5]; |
|
| 40 | $this->id = $process_output[6]; |
|
| 41 | $this->wid = $process_output[7]; |
|
| 42 | ||
| 43 | } |
|
| 44 | ||
| 45 | public function raw() { |
|
| 46 | ||
| @@ 32-42 (lines=11) @@ | ||
| 29 | ||
| 30 | use DataAccessTrait; |
|
| 31 | ||
| 32 | public function __construct($output) { |
|
| 33 | ||
| 34 | $this->pid = $output[0]; |
|
| 35 | $this->name = $output[1]; |
|
| 36 | $this->success = $output[2]; |
|
| 37 | $this->start = $output[3]; |
|
| 38 | $this->end = $output[4]; |
|
| 39 | $this->result = $output[5]; |
|
| 40 | $this->wid = $output[6]; |
|
| 41 | ||
| 42 | } |
|
| 43 | ||
| 44 | } |
|
| 45 | ||