protected function getFormatsFromDb($db) {
        $tables = $db->tables(true);
        $formats = $this->fixFormats($tables);
        return $formats;
    }
protected function getFormatsFromDb($db) {
        $tables = $db->tables(true);
        $formats = $this->fixFormats($tables);
        return $formats;
    }
protected function getFormatsFromDb ( $ db ) { $ tables = $ db -> tables ( true ) ; $ formats = $ this -> fixFormats ( $ tables ) ; return $ formats ; }
Get the translation format from the database.

@param Db $db
@return type
Get the translation format from the database .