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