public function setupFetchAllQuery() { $dbprefix = elgg_get_config('dbprefix'); $this->db->addQuerySpec(['sql' => "SELECT * FROM {$dbprefix}entity_subtypes", 'results' => [$this, 'fetchAllResults']]); }