Exemplo n.º 1
0
 /**
  * Start
  * 
  * Singleton shortcut to run the constructor without returning the instance
  * 
  */
 public static function Start()
 {
     if (!is_object(self::$instance)) {
         // Check for the existence of the OnePanel object
         if (class_exists('OnePanel')) {
             if (is_object(OnePanel::GetInstance())) {
                 return false;
             }
         } else {
             self::$instance = new OnePanelTheme();
         }
     }
 }