CleantalkResponse
in package
Response class
Table of Contents
Properties
- $account_status : int
- Account status
- $allow : int
- Is allow, 1|0
- $blacklisted : int
- Is blacklisted
- $codes : array<string|int, mixed>
- $comment : string
- Cleantalk comment
- $errno : int
- Request errno
- $errstr : string
- Error string
- $fast_submit : string
- Is fast submit, 1|0
- $id : int
- Request ID
- $inactive : int
- Account shuld by deactivated after registration, 1|0
- $js_disabled : type
- Is JS
- $received : int
- Received feedback nubmer
- $sender_email : string
- Checked Email
- $sender_ip : string
- Checked IP
- $sms : type
- Sms code result
- $sms_allow : type
- Sms check
- $sms_error_code : type
- Sms error code
- $sms_error_text : type
- Sms error code
- $spam : string
- Is spam comment
- $stop_queue : int
- Stop queue message, 1|0
- $stop_words : int
- Is stop words
Methods
- __construct() : mixed
- Create server response
Properties
$account_status
Account status
public
int
$account_status
= -1
$allow
Is allow, 1|0
public
int
$allow
= null
$blacklisted
Is blacklisted
public
int
$blacklisted
= null
$codes
public
array<string|int, mixed>
$codes
= array()
Contains codes returned from server
$comment
Cleantalk comment
public
string
$comment
= null
$errno
Request errno
public
int
$errno
= null
$errstr
Error string
public
string
$errstr
= null
$fast_submit
Is fast submit, 1|0
public
string
$fast_submit
= null
$id
Request ID
public
int
$id
= null
$inactive
Account shuld by deactivated after registration, 1|0
public
int
$inactive
= null
$js_disabled
Is JS
public
type
$js_disabled
= null
$received
Received feedback nubmer
public
int
$received
= null
$sender_email
Checked Email
public
string
$sender_email
= null
$sender_ip
Checked IP
public
string
$sender_ip
= null
$sms
Sms code result
public
type
$sms
= null
$sms_allow
Sms check
public
type
$sms_allow
= null
$sms_error_code
Sms error code
public
type
$sms_error_code
= null
$sms_error_text
Sms error code
public
type
$sms_error_text
= null
$spam
Is spam comment
public
string
$spam
= null
$stop_queue
Stop queue message, 1|0
public
int
$stop_queue
= null
$stop_words
Is stop words
public
int
$stop_words
= null
Methods
__construct()
Create server response
public
__construct([type $response = null ][, type $obj = null ]) : mixed
Parameters
- $response : type = null
- $obj : type = null