%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/wellingtonrecord/wp-content/plugins/photo-gallery/admin/controllers/ |
Upload File : |
<?php
/**
* Class EditimageController_bwg
*/
class EditimageController_bwg {
/**
* @var $model
*/
private $model;
/**
* @var $view
*/
private $view;
public function __construct() {
$this->model = new EditimageModel_bwg();
$this->view = new EditimageView_bwg();
}
public function execute() {
$task = WDWLibrary::get('task');
if ( $task != 'display' && method_exists($this, $task) ) {
$this->$task();
}
else {
$this->display();
}
}
public function display() {
$image_data = array();
$type = WDWLibrary::get('type', 'display');
if ( $type == 'crop' || $type == 'rotate' ) {
$image_data = $this->model->get_image_data();
}
$this->view->$type($image_data);
}
}