PHP Класс Newscoop\Service\Implementation\TemplateSearchServiceDoctrine

Наследование: extends AEntityBaseServiceDoctrine, implements Newscoop\Service\ITemplateSearchService
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$themesFolder string

Защищенные свойства (Protected)

Свойство Тип Описание
$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