예제 #1
0
 /**
  * @param GravityView_Settings $GFAddOn
  *
  * @return GV_License_Handler
  */
 public static function get_instance(GravityView_Settings $GFAddOn)
 {
     if (empty(self::$instance)) {
         self::$instance = new self($GFAddOn);
     }
     return self::$instance;
 }
예제 #2
0
 /**
  * Make sure the license handler is available
  */
 private function _load_license_handler()
 {
     if (!empty($this->License_Handler)) {
         return;
     }
     require_once GRAVITYVIEW_DIR . 'includes/class-gv-license-handler.php';
     $this->License_Handler = GV_License_Handler::get_instance($this);
 }