| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/finman.es.ihu.gr/wp-content/plugins/learnpress/inc/Helpers/ |
Upload File : |
<?php
namespace LearnPress\Helpers;
use stdClass;
defined( 'ABSPATH' ) || exit;
/**
* Class Response
*
* @package LearnPress/Helpers
* @version 1.0.0
* @since 4.3.7
*/
class Response {
const STATUS_SUCCESS = 'success';
const STATUS_ERROR = 'error';
/**
* Status.
*
* @var string.
*/
public $status = self::STATUS_ERROR;
/**
* Message.
*
* @var string .
*/
public $message = '';
/**
* Extra data
*
* @var object
*/
public $data;
/**
* LP_REST_Response constructor.
*/
public function __construct() {
$this->data = new stdClass();
}
}