getStore()->getStoreId(); $token = Mage::helper('bmbleb/account')->getSavedSecurityToken(); return sha1($token); } public function getPrattlerResponse() { $jobs = Mage::getModel('combine/cron_queue')->getCollection(); $events = Mage::getModel('combine/action')->getCollection(); return array( 'success' => true, 'jobs' => $jobs->getActiveCount(), 'events' => $events->getSize() ); } public function getExceptionResponse($e) { return array( 'success' => false, 'message' => $e->getMessage(), ); } }