Пример #1
0
 /**
  * the constructor
  *
  * don't use the constructor. use the singleton
  */
 private function __construct()
 {
     $this->_applicationName = 'Billing';
     $this->_receiptController = Billing_Controller_Receipt::getInstance();
     $this->_supplyReceiptController = Billing_Controller_SupplyReceipt::getInstance();
     $this->_currentAccount = Tinebase_Core::getUser();
     $this->_doContainerACLChecks = FALSE;
 }
Пример #2
0
 public function saveSupplyReceipt($recordData)
 {
     return $this->_save($recordData, Billing_Controller_SupplyReceipt::getInstance(), 'SupplyReceipt');
 }