Documentation

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

$codes

public array<string|int, mixed> $codes = array()

Contains codes returned from server

$inactive

Account shuld by deactivated after registration, 1|0

public int $inactive = null

Methods

__construct()

Create server response

public __construct([type $response = null ][, type $obj = null ]) : mixed
Parameters
$response : type = null
$obj : type = null

        
On this page

Search results