source/Application/Controller/Admin/ListComponentAjax.php
protected function _getAll($sQ)
    {
        $aReturn = [];
        $rs = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->select($sQ);
        if ($rs != false && $rs->count() > 0) {
            while (!$rs->EOF) {
                $aReturn[] = $rs->fields[0];
                $rs->fetchRow();
            }
        }

        return $aReturn;
    }
protected function _getAll($sQ)
    {
        $aReturn = [];
        $rs = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->select($sQ);
        if ($rs != false && $rs->count() > 0) {
            while (!$rs->EOF) {
                $aReturn[] = $rs->fields[0];
                $rs->fetchRow();
            }
        }

        return $aReturn;
    }
protected function _getAll ( $ sQ ) { $ aReturn = [ ] ; $ rs = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> select ( $ sQ ) ; if ( $ rs != false && $ rs -> count ( ) > 0 ) { while ( ! $ rs -> EOF ) { $ aReturn [ ] = $ rs -> fields [ 0 ] ; $ rs -> fetchRow ( ) ; } } return $ aReturn ; }
Returns DB records as plain indexed array

@param string $sQ SQL query

@return array
Returns DB records as plain indexed array