public function getPackageSelectQuery(PackageVersionEntity $packageVersion, LocaleEntity $locale, $excludeUntranslatedStrings = false)
    {
        $cn = $this->app->make(EntityManager::class)->getConnection();
        $queryPackageVersionID = (int) $packageVersion->getID();

        return $cn->executeQuery(
            $this->getBaseSelectString($locale, true, $excludeUntranslatedStrings) .
            "
                where
                    CommunityTranslationTranslatablePlaces.packageVersion = $queryPackageVersionID
                order by
                    CommunityTranslationTranslatablePlaces.sort
            "
        );
    }
public function getPackageSelectQuery(PackageVersionEntity $packageVersion, LocaleEntity $locale, $excludeUntranslatedStrings = false)
    {
        $cn = $this->app->make(EntityManager::class)->getConnection();
        $queryPackageVersionID = (int) $packageVersion->getID();

        return $cn->executeQuery(
            $this->getBaseSelectString($locale, true, $excludeUntranslatedStrings) .
            "
                where
                    CommunityTranslationTranslatablePlaces.packageVersion = $queryPackageVersionID
                order by
                    CommunityTranslationTranslatablePlaces.sort
            "
        );
    }
public function getPackageSelectQuery ( PackageVersionEntity $ packageVersion , LocaleEntity $ locale , $ excludeUntranslatedStrings = false ) { $ cn = $ this -> app -> make ( EntityManager :: class ) -> getConnection ( ) ; $ queryPackageVersionID = ( int ) $ packageVersion -> getID ( ) ; return $ cn -> executeQuery ( $ this -> getBaseSelectString ( $ locale , true , $ excludeUntranslatedStrings ) . "
                where
                    CommunityTranslationTranslatablePlaces.packageVersion = $queryPackageVersionID
                order by
                    CommunityTranslationTranslatablePlaces.sort
            " ) ; }
Get recordset of the translations for a specific package, version and locale.

@param PackageVersionEntity $packageVersion
@param LocaleEntity $locale
@param bool $excludeUntranslatedStrings

@return PDOStatement
Get recordset of the translations for a specific package version and locale .