示例#1
0
 /**
  * Initialize Class with a new instance
  * 
  * Should be called to boot up the class, stores an instance of itself
  * Me::init()
  * 
  * @since 0.1.0
  * 
  * @global boolean $instance
  * 
  */
 public static function init()
 {
     if (!self::$instance) {
         self::$instance = new Me_API_Modules();
     }
     return self::$instance;
 }
示例#2
0
 /**
  * Initializes our Me API Modules Class
  * 
  * Handles the endpoints for basic modules
  * 
  */
 public function load_rest_endpoints()
 {
     Me_API_Modules::init();
 }