Beispiel #1
0
 /**
  * Constructor
  *
  * Base constructor
  *
  * @access public
  * @param string $op The operation to preform
  * @param array &$data The referenced data array
  * @param array &$parent The referenced handler parent object
  */
 public function __construct($op, &$data, &$parent)
 {
     parent::__construct($op, $data, $parent);
     GetModuleById('accounting', $this->quickbooks, 'accounting_quickbooks');
     $this->xmlNode = new XMLWriter();
     $this->xmlNode->openMemory();
 }
Beispiel #2
0
 /**
  * Constructor
  *
  * Base constructor
  *
  * @access public
  * @param string $op The operation to preform
  * @param array &$data The referenced data array
  * @param array &$parent The referenced handler parent object
  */
 public function __construct($op, &$data, &$parent)
 {
     parent::__construct($op, $data, $parent);
     $this->entity = new ACCOUNTING_QUICKBOOKS_ENTITIES();
     GetModuleById('accounting', $this->quickbooks, 'accounting_quickbooks');
     /**
      * Now assign the spool data
      */
     $this->spoolId = $this->data->spoolId;
     $this->spoolData = $this->quickbooks->getAccountingSpool($this->data->spoolId);
 }
Beispiel #3
0
 /**
  * Constructor
  *
  * Base constructor
  *
  * @access public
  * @param string $op The operation to preform
  * @param array &$data The referenced data array
  * @param array &$parent The referenced handler parent object
  */
 public function __construct($op, &$data, &$parent)
 {
     parent::__construct($op, $data, $parent);
     $this->service = new ACCOUNTING_QUICKBOOKS_SERVICES();
     GetModuleById('accounting', $this->quickbooks, 'accounting_quickbooks');
 }