Пример #1
0
 /**
  * the singleton pattern
  *
  * @return SoBilling_Controller_SoEvent
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new self();
         require_once 'worg/wsf/ClassLoader.php';
         WsfClassLoader::init(CSopen::instance()->getLibPath() . 'wsflib/', "");
         libxml_use_internal_errors(false);
     }
     return self::$_instance;
 }