PHP Интерфейс Newscoop\Service\ITemplateSearchService

Показать файл Открыть проект

Открытые методы

Метод Описание
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.