2011-08-30 13:15:25 -04:00
|
|
|
<?php
|
2017-08-11 11:10:27 -04:00
|
|
|
|
2017-08-11 12:27:06 -04:00
|
|
|
class WsGetVariableResponse
|
2011-08-30 13:15:25 -04:00
|
|
|
{
|
2017-08-11 11:10:27 -04:00
|
|
|
public $status_code = 0;
|
|
|
|
|
public $message = '';
|
|
|
|
|
public $variables = null;
|
|
|
|
|
public $timestamp = '';
|
2012-10-09 12:58:15 -04:00
|
|
|
|
2017-08-11 11:10:27 -04:00
|
|
|
/**
|
|
|
|
|
* Function __construct
|
|
|
|
|
* Constructor of the class
|
|
|
|
|
*
|
|
|
|
|
* @param string $status
|
|
|
|
|
* @param string $message
|
|
|
|
|
* @param string $variables
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
function __construct ($status, $message, $variables)
|
2012-10-09 12:58:15 -04:00
|
|
|
{
|
2017-08-11 11:10:27 -04:00
|
|
|
$this->status_code = $status;
|
|
|
|
|
$this->message = $message;
|
|
|
|
|
$this->variables = $variables;
|
|
|
|
|
$this->timestamp = date( 'Y-m-d H:i:s' );
|
2012-10-09 12:58:15 -04:00
|
|
|
}
|
|
|
|
|
}
|