Exemplo n.º 1
0
 /**
  * the singleton pattern
  *
  * @return SoEventManager_Controller_SoEvent
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Exemplo n.º 2
0
 public function saveBookingTemplate($recordData)
 {
     return $this->_save($recordData, Billing_Controller_BookingTemplate::getInstance(), 'BookingTemplate');
 }