abstract public function DB::fetch in Anti Spam by CleanTalk 8.4
Same name in this branch
- 8.4 src/lib/Cleantalk/Common/DB.php \Cleantalk\Common\DB::fetch()
- 8.4 src/lib/Cleantalk/ApbctDrupal/DB.php \Cleantalk\ApbctDrupal\DB::fetch()
Same name and namespace in other branches
- 9.1.x src/lib/Cleantalk/Common/DB.php \Cleantalk\Common\DB::fetch()
Fetchs first column from query. May receive raw or prepared query.
Parameters
bool $query:
bool $response_type:
Return value
array|object|void|null
1 method overrides DB::fetch()
File
- src/
lib/ Cleantalk/ Common/ DB.php, line 88
Class
- DB
- CleanTalk abstract Data Base driver. Shows what should be inside. Uses singleton pattern.
Namespace
Cleantalk\CommonCode
public abstract function fetch($query = false, $response_type = false);