ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "ResponseModel.php"
Full Path: /home/zcziejy/ryadselyen/shortpixel-image-optimiser/class/Model/ResponseModel.php
File size: 1.07 KB
MIME-type: text/x-php
Charset: utf-8
<?php
namespace ShortPixel\Model;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
use ShortPixel\Controller\ResponseController as ResponseController;
class ResponseModel
{
// Identification for Item.
public $item_id;
public $item_type; // set by queue
// General item variables
public $fileName;
public $is_error;
public $is_done;
public $apiStatus;
public $fileStatus;
// Images being processed variables. From APIController
public $tries;
public $images_done;
public $images_waiting;
public $images_total;
public $issue_type; // Optional - if there is any issue to report.
public $message; // This can be base text, but decision textually is within responsecontroller.
public $action; // Custom Operations use this ( i.e. migrate )
// public $queueName;
/**
*
* @param $item_id int The attachment_id of the item in process
* @param $item_type string item type: media or custom.
*
**/
public function __construct($item_id, $item_type)
{
$this->item_id = $item_id;
$this->item_type = $item_type; // media or custum
}
}