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