Storage::getJobs PHP Méthode

getJobs() public méthode

public getJobs ( )
    public function getJobs()
    {
        $collection = $this->readCollection();
        return @$collection[self::VERSION]['jobs'];
    }

Usage Example

 public function getSampleJobs($tube = null)
 {
     $storage = new Storage($this->_globalVar['config']['storage']);
     if ($tube) {
         return $storage->getJobsForTube($tube);
     } else {
         return $storage->getJobs();
     }
 }