public function Cleantalk::isAllowMessage in Anti Spam by CleanTalk 7
Same name and namespace in other branches
- 7.5 src/Cleantalk.php \Cleantalk::isAllowMessage()
- 7.2 cleantalk.module \Cleantalk::isAllowMessage()
- 7.4 src/Cleantalk.php \Cleantalk::isAllowMessage()
Function checks whether it is possible to publish the message
Parameters
CleantalkRequest $request:
Return value
type
File
- ./
cleantalk.module, line 436 - Main CleanTalk integration module functions.
Class
- Cleantalk
- Cleantalk class create request
Code
public function isAllowMessage(CleantalkRequest $request) {
$this
->filterRequest($request);
$msg = $this
->createMsg('check_message', $request);
return $this
->httpRequest($msg);
}