File "Licensing.php"

Full Path: /home/laciafrdyl/www/wp-content/plugins/photo-gallery/admin/controllers/Licensing.php
File size: 490 bytes
MIME-type: text/x-php
Charset: utf-8

<?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();
  }
}