b0y-101 Mini Shell


Current Path : E:/www3/chiangrai/wp-content/plugins/photo-gallery/admin/controllers/
File Upload :
Current File : E:/www3/chiangrai/wp-content/plugins/photo-gallery/admin/controllers/Licensing.php

<?php

/**
 * Class LicensingController_bwg
 */
class LicensingController_bwg {
  private $view;
  public function __construct() {
    require_once BWG()->plugin_dir . "/admin/views/Licensing.php";
    $this->view = new LicensingView_bwg();
  }

  public function execute() {
    $task = WDWLibrary::get('task');
    if (method_exists($this, $task)) {
      $this->$task();
    }
    else {
      $this->display();
    }
  }

  public function display() {
    $this->view->display();
  }
}

Copyright © 2019 by b0y-101