protected function getReadableData()
    {
        $job  = $this->monitorJob;
        $data = $job->getArrayCopy();
        
        // Skip when job is not started
        if ($data['setTime'] == 0) return;
        
        $data['firstCheck'] = date(MonitorJob::$monitorDateFormat, $data['firstCheck']);
        $data['checkTime'] = date(MonitorJob::$monitorDateFormat, $data['checkTime']);
        $data['setTime'] = date(MonitorJob::$monitorDateFormat, $data['setTime']);
        $period = $data['period'];
        $mins = $period % 3600;
        $secs = $mins % 60;
        $hours = ($period - $mins) / 3600;
        $mins = ($mins - $secs) / 60;
        $data['period'] = sprintf('%2d:%02d:%02d',$hours,$mins,$secs);
        
        return $data;
    }
protected function getReadableData()
    {
        $job  = $this->monitorJob;
        $data = $job->getArrayCopy();
        
        // Skip when job is not started
        if ($data['setTime'] == 0) return;
        
        $data['firstCheck'] = date(MonitorJob::$monitorDateFormat, $data['firstCheck']);
        $data['checkTime'] = date(MonitorJob::$monitorDateFormat, $data['checkTime']);
        $data['setTime'] = date(MonitorJob::$monitorDateFormat, $data['setTime']);
        $period = $data['period'];
        $mins = $period % 3600;
        $secs = $mins % 60;
        $hours = ($period - $mins) / 3600;
        $mins = ($mins - $secs) / 60;
        $data['period'] = sprintf('%2d:%02d:%02d',$hours,$mins,$secs);
        
        return $data;
    }
protected function getReadableData ( ) { $ job = $ this -> monitorJob ; $ data = $ job -> getArrayCopy ( ) ; // Skip when job is not started if ( $ data [ 'setTime' ] == 0 ) return ; $ data [ 'firstCheck' ] = date ( MonitorJob :: $ monitorDateFormat , $ data [ 'firstCheck' ] ) ; $ data [ 'checkTime' ] = date ( MonitorJob :: $ monitorDateFormat , $ data [ 'checkTime' ] ) ; $ data [ 'setTime' ] = date ( MonitorJob :: $ monitorDateFormat , $ data [ 'setTime' ] ) ; $ period = $ data [ 'period' ] ; $ mins = $ period % 3600 ; $ secs = $ mins % 60 ; $ hours = ( $ period - $ mins ) / 3600 ; $ mins = ( $ mins - $ secs ) / 60 ; $ data [ 'period' ] = sprintf ( '%2d:%02d:%02d' , $ hours , $ mins , $ secs ) ; return $ data ; }
Create readable output

@return array
Create readable output