Свойство | Тип | Описание | |
---|---|---|---|
m_key | String |
Метод | Описание | |
---|---|---|
IsSpam ( |
Check if the input comment is valid or not.
|
|
SubmitHam ( |
This call is intended for the marking of false positives, things that were incorrectly marked as spam.
|
|
SubmitSpam ( |
This call is for submitting comments that weren't marked as spam but should've been.
|
|
Validator ( String key ) : System |
Initialize class members based on the input parameters
|
|
VerifyKey ( String domain ) : System.Boolean |
Check if the validator's key is valid or not.
|
Метод | Описание | |
---|---|---|
ExtractResult ( String content ) : System.Boolean |
Check the input data for valid content: "valid" string or "true" string.
|
|
PostRequest ( String url, |
Post parameters to the input url and return the response.
|
|
PreparePars ( |
Prepare request parameters based on the input comment.
|
|
PreparePars ( String key, String domain ) : |
Prepare request parameters based on the input parameters.
|
protected ExtractResult ( String content ) : System.Boolean | ||
content | String | The input content. |
Результат | System.Boolean |
public IsSpam ( |
||
comment | The input comment to be checked. | |
Результат | System.Boolean |
protected PostRequest ( String url, |
||
url | String | The input url (absolute). |
pars | The input parameters to send. | |
Результат | String |
protected PreparePars ( |
||
comment | The input comment. | |
Результат |
protected PreparePars ( String key, String domain ) : |
||
key | String | The input key. |
domain | String | The input domain. |
Результат |
public SubmitHam ( |
||
comment | The input comment to be sent as ham. | |
Результат | void |
public SubmitSpam ( |
||
comment | The input comment to be sent as spam. | |
Результат | void |
public Validator ( String key ) : System | ||
key | String | The input Akismet key. |
Результат | System |
public VerifyKey ( String domain ) : System.Boolean | ||
domain | String | |
Результат | System.Boolean |