PHP Interface Newscoop\Service\IOutputSettingIssueService

Inheritance: extends Newscoop\Service\IEntityBaseService
显示文件 Open project: sourcefabric/newscoop

Public Methods

Method Description
delete ( OutputSettingsIssue $outputSettingsIssue ) Delete an ouput setting issue
findByIssue ( Issue | integer $issue ) : array Provides the Output Settings Issue for the provided issue
findByIssueAndOutput ( Issue | integer $issue, Output | string $output ) : array Provides the Output Settings Issue for the provided issue and output
insert ( OutputSettingsIssue $outputSettingsIssue ) Inserts an ouput setting issue
isThemeUsed ( Theme | str $theme ) Checks if the provided theme is used by any issue at this point.
update ( OutputSettingsIssue $outputSettingsIssue ) Update an ouput setting issue

Method Details

delete() public method

Delete an ouput setting issue
public delete ( OutputSettingsIssue $outputSettingsIssue )
$outputSettingsIssue Newscoop\Entity\Output\OutputSettingsIssue

findByIssue() public method

Provides the Output Settings Issue for the provided issue
public findByIssue ( Issue | integer $issue ) : array
$issue Newscoop\Entity\Issue | integer The issue to be searched, not null, not empty.
return array Newscoop\Entity\Output\OutputSettingsIssue The Output Setting, empty array if no Output Setting could be found for the provided issue.

findByIssueAndOutput() public method

Provides the Output Settings Issue for the provided issue and output
public findByIssueAndOutput ( Issue | integer $issue, Output | string $output ) : array
$issue Newscoop\Entity\Issue | integer The issue to be searched, not null, not empty.
$output Newscoop\Entity\Output | string The output to be searched, not null, not empty.
return array Newscoop\Entity\Output\OutputSettingsIssue The Output Setting, empty array if no Output Setting could be found for the provided issue.

insert() public method

Inserts an ouput setting issue
public insert ( OutputSettingsIssue $outputSettingsIssue )
$outputSettingsIssue Newscoop\Entity\Output\OutputSettingsIssue

isThemeUsed() public method

Checks if the provided theme is used by any issue at this point.
public isThemeUsed ( Theme | str $theme )
$theme Theme | str The theme or path to be checked if used.

update() public method

Update an ouput setting issue
public update ( OutputSettingsIssue $outputSettingsIssue )
$outputSettingsIssue Newscoop\Entity\Output\OutputSettingsIssue