HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/cwd/wp-content/plugins/shortpixel-image-optimiser/class/Model/ResponseModel.php
<?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
	}




}