public function getAllJobs()
    {
        list($background, $foreground) = $this->loadSavedJobs()->getQueuedJobs(true);

        return array_merge($background, $foreground);
    }
public function getAllJobs()
    {
        list($background, $foreground) = $this->loadSavedJobs()->getQueuedJobs(true);

        return array_merge($background, $foreground);
    }
public function getAllJobs ( ) { list ( $ background , $ foreground ) = $ this -> loadSavedJobs ( ) -> getQueuedJobs ( true ) ; return array_merge ( $ background , $ foreground ) ; }
Get all jobs if they are disabled or not as one array

@return array
Get all jobs if they are disabled or not as one array