PHP Class Newscoop\Service\Implementation\TemplateSearchServiceDoctrine

Inheritance: extends AEntityBaseServiceDoctrine, implements Newscoop\Service\ITemplateSearchService
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Свойство Type Description
$themesFolder string

Protected Properties

Свойство Type Description
$em Doctrine\ORM\EntityManager
$issueService Newscoop\Service\IIssueService
$outputSettingIssueService Newscoop\Service\IOutputSettingIssueService
$outputSettingSectionService Newscoop\Service\IOutputSettingSectionService
$sectionService Newscoop\Service\ISectionService

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
_init_ ( ) * ---------------------------------------------------------------
getResourceFullPath ( Resource $resource ) : string Internal method, get the full path from an resource.

Method Details

_init_() protected méthode

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

getArticlePage() public méthode

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.
Résultat string The full path of the template.

getErrorPage() public méthode

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.
Résultat string The full path of the template.

getFrontPage() public méthode

public getFrontPage ( $issue, $output )

getIssueService() public méthode

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

getOutputSettingIssueService() public méthode

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

getOutputSettingSectionService() public méthode

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

getResourceFullPath() protected méthode

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

getSectionPage() public méthode

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.
Résultat string The full path of the template.

getSectionService() public méthode

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

Property Details

$em protected_oe property

protected Doctrine\ORM\EntityManager $em
Résultat Doctrine\ORM\EntityManager

$issueService protected_oe property

protected IIssueService,Newscoop\Service $issueService
Résultat Newscoop\Service\IIssueService

$outputSettingIssueService protected_oe property

protected IOutputSettingIssueService,Newscoop\Service $outputSettingIssueService
Résultat Newscoop\Service\IOutputSettingIssueService

$outputSettingSectionService protected_oe property

protected IOutputSettingSectionService,Newscoop\Service $outputSettingSectionService
Résultat Newscoop\Service\IOutputSettingSectionService

$sectionService protected_oe property

protected ISectionService,Newscoop\Service $sectionService
Résultat Newscoop\Service\ISectionService

$themesFolder public_oe property

public string $themesFolder
Résultat string