PHP 인터페이스 Newscoop\Service\ITemplateSearchService

파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
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 | Int $issue, Output | integer | string $output ) : string Get the page for front page to be used as a template.
getSectionPage ( Section | Int $section, Output | integer | string $output ) : string Get the page for section to be used as a template.

메소드 상세

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() 공개 메소드

Get the page for front page to be used as a template.
public getFrontPage ( 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.

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.