PHP 클래스 Ojs\JournalBundle\Service\JournalService

파일 보기 프로젝트 열기: ojs/ojs 1 사용 예제들

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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 generateUrl ( Journal $journal ) : string
$journal Ojs\JournalBundle\Entity\Journal
리턴 string

getJournalLocales() 공개 메소드

public getJournalLocales ( ) : array
리턴 array

getSelectedJournal() 공개 메소드

public getSelectedJournal ( boolean | true $useCache = true ) : boolean | Journal
$useCache boolean | true
리턴 boolean | Ojs\JournalBundle\Entity\Journal

getSelectedJournalRoles() 공개 메소드

public getSelectedJournalRoles ( Journal $journal = null ) : Doctrine\Common\Collections\Collection
$journal Ojs\JournalBundle\Entity\Journal
리턴 Doctrine\Common\Collections\Collection