PHP Interface Newscoop\Service\IOutputSettingSectionService

Inheritance: extends Newscoop\Service\IEntityBaseService
Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
delete ( OutputSettingsSection $outputSettingsSection ) Delete an ouput setting section
findBySection ( Section | integer $section ) : Newscoop\Entity\OutputSettingsSection Provides the Output Settings that has the provided Section.
findBySectionAndOutput ( Section | integer $section, Output | string $output ) : Newscoop\Entity\OutputSettingsSection Provides the Output Settings that has the provided Section and Output.
insert ( OutputSettingsSection $outputSettingsSection ) Inserts an ouput setting section
update ( OutputSettingsSection $outputSettingsSection ) Update an ouput setting section

Method Details

delete() public method

Delete an ouput setting section
public delete ( OutputSettingsSection $outputSettingsSection )
$outputSettingsSection Newscoop\Entity\Output\OutputSettingsSection

findBySection() public method

Provides the Output Settings that has the provided Section.
public findBySection ( Section | integer $section ) : Newscoop\Entity\OutputSettingsSection
$section Newscoop\Entity\Section | integer The section to be searched, not null, not empty.
return Newscoop\Entity\OutputSettingsSection The Output Setting, empty array if no Output Setting could be found for the provided section.

findBySectionAndOutput() public method

Provides the Output Settings that has the provided Section and Output.
public findBySectionAndOutput ( Section | integer $section, Output | string $output ) : Newscoop\Entity\OutputSettingsSection
$section Newscoop\Entity\Section | integer The section to be searched, not null, not empty.
$output Output | string The output to be searched, not null, not empty.
return Newscoop\Entity\OutputSettingsSection The Output Setting, empty array if no Output Setting could be found for the provided section.

insert() public method

Inserts an ouput setting section
public insert ( OutputSettingsSection $outputSettingsSection )
$outputSettingsSection Newscoop\Entity\Output\OutputSettingsSection

update() public method

Update an ouput setting section
public update ( OutputSettingsSection $outputSettingsSection )
$outputSettingsSection Newscoop\Entity\Output\OutputSettingsSection