Redaxscript\Controller\Search::_search PHP Method

    protected function _search($searchArray = [])
    {
        $resultArray = [];
        /* process tables */
        foreach ($searchArray['table'] as $table) {
            $resultArray[$table] = Db::forTablePrefix($table)->whereLikeMany($this->_getColumnArray($table), $this->_getLikeArray($table, $searchArray))->where('status', 1)->whereLanguageIs($this->_registry->get('language'))->orderByDesc('date')->findMany();
        }
        return $resultArray;
    }