private function __construct() { $this->jobController = Billing_Controller_BatchJob::getInstance(); $this->modelName = 'Billing_Model_BatchJob'; $this->currentAccount = Tinebase_Core::getUser(); }
public function saveBatchJob($recordData) { $aTransmitt = array('id' => $recordData['id'], 'job_name1' => $recordData['job_name1'], 'job_name2' => $recordData['job_name2']); return $this->_save($aTransmitt, Billing_Controller_BatchJob::getInstance(), 'BatchJob'); }