class CleantalkRequest in Anti Spam by CleanTalk 8
Request class
Hierarchy
- class \Drupal\cleantalk\CleantalkRequest
Expanded class hierarchy of CleantalkRequest
File
- src/
CleantalkRequest.php, line 7
Namespace
Drupal\cleantalkView source
class CleantalkRequest {
/**
* All http request headers
* @var string
*/
public $all_headers = null;
/**
* IP address of connection
* @var string
*/
//public $remote_addr = null;
/**
* Last error number
* @var integer
*/
public $last_error_no = null;
/**
* Last error time
* @var integer
*/
public $last_error_time = null;
/**
* Last error text
* @var string
*/
public $last_error_text = null;
/**
* User message
* @var string
*/
public $message = null;
/**
* Post example with last comments
* @var string
*/
public $example = null;
/**
* Auth key
* @var string
*/
public $auth_key = null;
/**
* Engine
* @var string
*/
public $agent = null;
/**
* Is check for stoplist,
* valid are 0|1
* @var int
*/
public $stoplist_check = null;
/**
* Language server response,
* valid are 'en' or 'ru'
* @var string
*/
public $response_lang = null;
/**
* User IP
* @var strings
*/
public $sender_ip = null;
/**
* User email
* @var strings
*/
public $sender_email = null;
/**
* User nickname
* @var string
*/
public $sender_nickname = null;
/**
* Sender info JSON string
* @var string
*/
public $sender_info = null;
/**
* Post info JSON string
* @var string
*/
public $post_info = null;
/**
* Is allow links, email and icq,
* valid are 1|0
* @var int
*/
public $allow_links = null;
/**
* Time form filling
* @var int
*/
public $submit_time = null;
/**
* Is enable Java Script,
* valid are 0|1|2
* Status:
* null - JS html code not inserted into phpBB templates
* 0 - JS disabled at the client browser
* 1 - JS enabled at the client broswer
* @var int
*/
public $js_on = null;
/**
* user time zone
* @var string
*/
public $tz = null;
/**
* Feedback string,
* valid are 'requset_id:(1|0)'
* @var string
*/
public $feedback = null;
/**
* Phone number
* @var type
*/
public $phone = null;
/**
* Method name
* @var string
*/
public $method_name = 'check_message';
/**
* Fill params with constructor
* @param type $params
*/
public function __construct($params = null) {
if (is_array($params) && count($params) > 0) {
foreach ($params as $param => $value) {
$this->{$param} = $value;
}
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CleantalkRequest:: |
public | property | Engine | |
CleantalkRequest:: |
public | property | Is allow links, email and icq, valid are 1|0 | |
CleantalkRequest:: |
public | property | All http request headers | |
CleantalkRequest:: |
public | property | Auth key | |
CleantalkRequest:: |
public | property | Post example with last comments | |
CleantalkRequest:: |
public | property | Feedback string, valid are 'requset_id:(1|0)' | |
CleantalkRequest:: |
public | property | Is enable Java Script, valid are 0|1|2 Status: null - JS html code not inserted into phpBB templates 0 - JS disabled at the client browser 1 - JS enabled at the client broswer | |
CleantalkRequest:: |
public | property | Last error number | |
CleantalkRequest:: |
public | property | Last error text | |
CleantalkRequest:: |
public | property | Last error time | |
CleantalkRequest:: |
public | property | User message | |
CleantalkRequest:: |
public | property | Method name | |
CleantalkRequest:: |
public | property | Phone number | |
CleantalkRequest:: |
public | property | Post info JSON string | |
CleantalkRequest:: |
public | property | Language server response, valid are 'en' or 'ru' | |
CleantalkRequest:: |
public | property | User email | |
CleantalkRequest:: |
public | property | Sender info JSON string | |
CleantalkRequest:: |
public | property | User IP | |
CleantalkRequest:: |
public | property | User nickname | |
CleantalkRequest:: |
public | property | Is check for stoplist, valid are 0|1 | |
CleantalkRequest:: |
public | property | Time form filling | |
CleantalkRequest:: |
public | property | user time zone | |
CleantalkRequest:: |
public | function | Fill params with constructor |