Example #1
0
 /**
  * Get a reference to the shared application object.
  * @static
  * @return object The WFWebApplication object.
  */
 static function sharedWebApplication()
 {
     static $webapp = NULL;
     if (!$webapp) {
         $webapp = new WFWebApplication();
         $webapp->init();
     }
     return $webapp;
 }