PHP 클래스 Newscoop\Service\Implementation\TemplateSearchServiceDoctrine

상속: extends AEntityBaseServiceDoctrine, implements Newscoop\Service\ITemplateSearchService
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 프로퍼티들

프로퍼티 타입 설명
$themesFolder string

보호된 프로퍼티들

프로퍼티 타입 설명
$em Doctrine\ORM\EntityManager
$issueService Newscoop\Service\IIssueService
$outputSettingIssueService Newscoop\Service\IOutputSettingIssueService
$outputSettingSectionService Newscoop\Service\IOutputSettingSectionService
$sectionService Newscoop\Service\ISectionService

공개 메소드들

메소드 설명
getArticlePage ( Section | Int $section, Output | integer | string $output ) : string Get the page for article to be used as a template.
getErrorPage ( Issue | Int $issue, Output | integer | string $output ) : string Get the page for error to be used as a template.
getFrontPage ( $issue, $output )
getIssueService ( ) : Newscoop\Service\IIssueService Provides the Issue service.
getOutputSettingIssueService ( ) : Newscoop\Service\IOutputSettingIssueService Provides the Output setting issue service.
getOutputSettingSectionService ( ) : Newscoop\Service\IOutputSettingSectionService Provides the Output setting service.
getSectionPage ( Section | Int $section, Output | integer | string $output ) : string Get the page for section to be used as a template.
getSectionService ( ) : Newscoop\Service\ISectionService Provides the Section service.

보호된 메소드들

메소드 설명
_init_ ( ) * ---------------------------------------------------------------
getResourceFullPath ( Resource $resource ) : string Internal method, get the full path from an resource.

메소드 상세

_init_() 보호된 메소드

* ---------------------------------------------------------------
protected _init_ ( )

getArticlePage() 공개 메소드

Get the page for article to be used as a template.
public getArticlePage ( Section | Int $section, Output | integer | string $output ) : string
$section Newscoop\Entity\Section | Int The section object or the id of the issue for whom the template is needed.
$output Newscoop\Entity\Output | integer | string The object Output, the id or the Name of the Output for whom the template is needed.
리턴 string The full path of the template.

getErrorPage() 공개 메소드

Get the page for error to be used as a template.
public getErrorPage ( Issue | Int $issue, Output | integer | string $output ) : string
$issue Newscoop\Entity\Issue | Int The issue object or the id of the issue for whom the template is needed.
$output Newscoop\Entity\Output | integer | string The object Output, the id or the Name of the Output for whom the template is needed.
리턴 string The full path of the template.

getFrontPage() 공개 메소드

public getFrontPage ( $issue, $output )

getIssueService() 공개 메소드

Provides the Issue service.
public getIssueService ( ) : Newscoop\Service\IIssueService
리턴 Newscoop\Service\IIssueService The issue service to be used by this controller.

getOutputSettingIssueService() 공개 메소드

Provides the Output setting issue service.
public getOutputSettingIssueService ( ) : Newscoop\Service\IOutputSettingIssueService
리턴 Newscoop\Service\IOutputSettingIssueService The output setting issue service to be used by this controller.

getOutputSettingSectionService() 공개 메소드

Provides the Output setting service.
public getOutputSettingSectionService ( ) : Newscoop\Service\IOutputSettingSectionService
리턴 Newscoop\Service\IOutputSettingSectionService The output setting section service to be used by this controller.

getResourceFullPath() 보호된 메소드

Internal method, get the full path from an resource.
protected getResourceFullPath ( Resource $resource ) : string
$resource Newscoop\Entity\Resource
리턴 string

getSectionPage() 공개 메소드

Get the page for section to be used as a template.
public getSectionPage ( Section | Int $section, Output | integer | string $output ) : string
$section Newscoop\Entity\Section | Int The section object or the id of the issue for whom the template is needed.
$output Newscoop\Entity\Output | integer | string The object Output, the id or the Name of the Output for whom the template is needed.
리턴 string The full path of the template.

getSectionService() 공개 메소드

Provides the Section service.
public getSectionService ( ) : Newscoop\Service\ISectionService
리턴 Newscoop\Service\ISectionService The section service to be used by this controller.

프로퍼티 상세

$em 보호되어 있는 프로퍼티

protected Doctrine\ORM\EntityManager $em
리턴 Doctrine\ORM\EntityManager

$issueService 보호되어 있는 프로퍼티

protected IIssueService,Newscoop\Service $issueService
리턴 Newscoop\Service\IIssueService

$outputSettingIssueService 보호되어 있는 프로퍼티

protected IOutputSettingIssueService,Newscoop\Service $outputSettingIssueService
리턴 Newscoop\Service\IOutputSettingIssueService

$outputSettingSectionService 보호되어 있는 프로퍼티

protected IOutputSettingSectionService,Newscoop\Service $outputSettingSectionService
리턴 Newscoop\Service\IOutputSettingSectionService

$sectionService 보호되어 있는 프로퍼티

protected ISectionService,Newscoop\Service $sectionService
리턴 Newscoop\Service\ISectionService

$themesFolder 공개적으로 프로퍼티

public string $themesFolder
리턴 string