services/scanners/ScannerDatabase.php
private function _getCategory($tables)
    {
        if (isset($tables['category']) && $tables['category'] == 'database-table-name') {
            $category = $this->_normalizeTablename($tables['table']);
        } else {
            $category = Scanner::CATEGORY_DATABASE;
        }

        return $category;
    }
private function _getCategory($tables)
    {
        if (isset($tables['category']) && $tables['category'] == 'database-table-name') {
            $category = $this->_normalizeTablename($tables['table']);
        } else {
            $category = Scanner::CATEGORY_DATABASE;
        }

        return $category;
    }
private function _getCategory ( $ tables ) { if ( isset ( $ tables [ 'category' ] ) && $ tables [ 'category' ] == 'database-table-name' ) { $ category = $ this -> _normalizeTablename ( $ tables [ 'table' ] ) ; } else { $ category = Scanner :: CATEGORY_DATABASE ; } return $ category ; }
Returns the language category.

@param array $tables

@return string
Returns the language category .