PHP Class Ojs\JournalBundle\Service\JournalService

Afficher le fichier Open project: ojs/ojs Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( EntityManager $em, Symfony\Component\HttpFoundation\Session\Session $session, Router $router, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\HttpFoundation\RequestStack $requestStack, $defaultPublisherSlug )
generateUrl ( Journal $journal ) : string
getJournalLocales ( ) : array
getSelectedJournal ( boolean | true $useCache = true ) : boolean | Journal
getSelectedJournalRoles ( Journal $journal = null ) : Doctrine\Common\Collections\Collection

Method Details

__construct() public méthode

public __construct ( EntityManager $em, Symfony\Component\HttpFoundation\Session\Session $session, Router $router, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\HttpFoundation\RequestStack $requestStack, $defaultPublisherSlug )
$em Doctrine\ORM\EntityManager
$session Symfony\Component\HttpFoundation\Session\Session
$router Symfony\Bundle\FrameworkBundle\Routing\Router
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$defaultPublisherSlug

generateUrl() public méthode

public generateUrl ( Journal $journal ) : string
$journal Ojs\JournalBundle\Entity\Journal
Résultat string

getJournalLocales() public méthode

public getJournalLocales ( ) : array
Résultat array

getSelectedJournal() public méthode

public getSelectedJournal ( boolean | true $useCache = true ) : boolean | Journal
$useCache boolean | true
Résultat boolean | Ojs\JournalBundle\Entity\Journal

getSelectedJournalRoles() public méthode

public getSelectedJournalRoles ( Journal $journal = null ) : Doctrine\Common\Collections\Collection
$journal Ojs\JournalBundle\Entity\Journal
Résultat Doctrine\Common\Collections\Collection