controllers/ResqueJobStatus.php
public function get()
    {
        if (!$this->isTracking()) {
            return false;
        }

        $statusPacket = json_decode($this->resqueInstance->redis->get((string)$this), true);
        if (!$statusPacket) {
            return false;
        }

        return $statusPacket['status'];
    }
public function get()
    {
        if (!$this->isTracking()) {
            return false;
        }

        $statusPacket = json_decode($this->resqueInstance->redis->get((string)$this), true);
        if (!$statusPacket) {
            return false;
        }

        return $statusPacket['status'];
    }
public function get ( ) { if ( ! $ this -> isTracking ( ) ) { return false ; } $ statusPacket = json_decode ( $ this -> resqueInstance -> redis -> get ( ( string ) $ this ) , true ) ; if ( ! $ statusPacket ) { return false ; } return $ statusPacket [ 'status' ] ; }
Fetch the status for the job being monitored.

@return mixed False if the status is not being monitored, otherwise the status as
as an integer, based on the Resque_Job_Status constants.
Fetch the status for the job being monitored .