Spork Code Libraries

StorageDb

CREATE TABLE IF NOT EXISTS `job` ( `job` varchar(255) CHARACTER SET ascii NOT NULL, `type` enum('report','schedule') CHARACTER SET ascii NOT NULL, `data` blob NOT NULL, PRIMARY KEY (`job`,`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Extends
\Zend\EventManager\AbstractListenerAggregate
Implements
\SporkTools\Core\Job\Feature\FeatureInterface

Properties

$columnMap

$columnMap : 

Type

$db

$db : 

Type

$table

$table : 

Type

Methods

__construct()

__construct(array  $options = array()) 

Parameters

array $options

getColumnMap()

getColumnMap() 

setColumnMap()

setColumnMap(array  $map) 

Parameters

array $map

getDb()

getDb() 

setDb()

setDb(  $db) 

Parameters

$db

getTable()

getTable() 

setTable()

setTable(  $table) 

Parameters

$table

attach()

attach(\Zend\EventManager\EventManagerInterface  $events) 

Parameters

\Zend\EventManager\EventManagerInterface $events

initialize()

initialize(\Zend\ServiceManager\ServiceLocatorInterface  $serviceManager) 

Parameters

\Zend\ServiceManager\ServiceLocatorInterface $serviceManager

fetchData()

fetchData(\SporkTools\Core\Job\AbstractJob  $job, string  $type) : \SporkTools\Core\Job\Feature\ArrayObject,

Parameters

\SporkTools\Core\Job\AbstractJob $job
string $type

'report' | 'schedule'

Returns

\SporkTools\Core\Job\Feature\ArrayObject, —

false