class SFW in Anti Spam by CleanTalk 8.3
Same name in this branch
- 8.3 src/lib/Cleantalk/ApbctDrupal/SFW.php \Drupal\cleantalk\lib\Cleantalk\ApbctDrupal\SFW
- 8.3 src/lib/Cleantalk/Antispam/SFW.php \Drupal\cleantalk\lib\Cleantalk\Antispam\SFW
Hierarchy
Expanded class hierarchy of SFW
3 files declare their use of SFW
- BootSubscriber.php in src/
EventSubscriber/ BootSubscriber.php - CleantalkFuncs.php in src/
CleantalkFuncs.php - CleantalkSettingsForm.php in src/
Form/ CleantalkSettingsForm.php
File
- src/
lib/ Cleantalk/ ApbctDrupal/ SFW.php, line 13
Namespace
Drupal\cleantalk\lib\Cleantalk\ApbctDrupalView source
class SFW extends \Drupal\cleantalk\lib\Cleantalk\Antispam\SFW {
public function __construct($api_key) {
global $DB;
parent::__construct($api_key, \Drupal::service('database'), \Drupal::service('database')
->tablePrefix());
}
protected function universal_query($query) {
$this->db_query = $this->db
->query($query);
}
protected function universal_fetch() {
return $this->db_query
->fetchAssoc();
}
protected function universal_fetch_all() {
$result = array();
while ($row = $this->db_query
->fetchAssoc()) {
$result[] = $row;
}
return $result;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SFW:: |
private | property | ||
SFW:: |
protected | property | ||
SFW:: |
protected | property | ||
SFW:: |
private | property | ||
SFW:: |
private | property | ||
SFW:: |
public | function | ||
SFW:: |
private | function | ||
SFW:: |
public | function | ||
SFW:: |
private | function | ||
SFW:: |
public | function | ||
SFW:: |
protected | function | ||
SFW:: |
protected | function |
Overrides SFW:: |
|
SFW:: |
protected | function |
Overrides SFW:: |
|
SFW:: |
protected | function |
Overrides SFW:: |
|
SFW:: |
public | function |
Overrides SFW:: |