/**
  * This implements the 'singleton' design pattern
  *
  * @return rcube_plugin_api The one and only instance if this class
  */
 static function get_instance()
 {
     if (!self::$instance) {
         self::$instance = new rcube_plugin_api();
     }
     return self::$instance;
 }