Ojs\JournalBundle\Entity\Journal::getTitleTranslations PHP Méthode

getTitleTranslations() public méthode

Get title
public getTitleTranslations ( ) : string
Résultat string
    public function getTitleTranslations()
    {
        $titles = [];
        /** @var JournalTranslation $translation */
        foreach ($this->translations as $translation) {
            $titles[] = $translation->getTitle() . ' [' . $translation->getLocale() . ']';
        }
        return implode('<br>', $titles);
    }
Journal