PHP Interface Newscoop\Service\ITemplateSearchService

Afficher le fichier Open project: sourcefabric/newscoop

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 | 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.

Method Details

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

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

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.