PHP Class Newscoop\Entity\OutputSettings

Inheritance: extends AbstractEntity
Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$articlePage Newscoop\Entity\Resource
$errorPage Newscoop\Entity\Resource
$frontPage Newscoop\Entity\Resource
$output Newscoop\Entity\Output
$sectionPage Newscoop\Entity\Resource

Public Methods

Method Description
copyTo ( $outputSetting ) Copies the cvcontent from this object to the provided object.
getArticlePage ( ) : Newscoop\Entity\Resource Provides the article page template resource.
getErrorPage ( ) : Newscoop\Entity\Resource Provides the article page template resource.
getFrontPage ( ) : Newscoop\Entity\Resource Provides the front page template resource.
getOutput ( ) : Newscoop\Entity\Output Provides the output that is the owner of this settings.
getSectionPage ( ) : Newscoop\Entity\Resource Provides the section page template resource.
setArticlePage ( Resource $articlePage = null ) : Newscoop\Entity\OutputSetting Set the article page template resource.
setErrorPage ( Resource $errorPage = null ) : Newscoop\Entity\OutputSetting Set the error page template resource.
setFrontPage ( Resource $frontPage = null ) : Newscoop\Entity\OutputSetting Set the front page template resource.
setOutput ( Output $output ) : Newscoop\Entity\OutputSetting Set the output that is the owner of this settings.
setSectionPage ( Resource $sectionPage = null ) : Newscoop\Entity\OutputSetting Set the section page template resource.

Method Details

copyTo() public method

Copies the cvcontent from this object to the provided object.
public copyTo ( $outputSetting )

getArticlePage() public method

Provides the article page template resource.
public getArticlePage ( ) : Newscoop\Entity\Resource
return Newscoop\Entity\Resource The article page template resource.

getErrorPage() public method

Provides the article page template resource.
public getErrorPage ( ) : Newscoop\Entity\Resource
return Newscoop\Entity\Resource The article page template resource.

getFrontPage() public method

Provides the front page template resource.
public getFrontPage ( ) : Newscoop\Entity\Resource
return Newscoop\Entity\Resource The front page template resource.

getOutput() public method

Provides the output that is the owner of this settings.
public getOutput ( ) : Newscoop\Entity\Output
return Newscoop\Entity\Output The output that is the owner of this settings.

getSectionPage() public method

Provides the section page template resource.
public getSectionPage ( ) : Newscoop\Entity\Resource
return Newscoop\Entity\Resource The section page template resource.

setArticlePage() public method

Set the article page template resource.
public setArticlePage ( Resource $articlePage = null ) : Newscoop\Entity\OutputSetting
$articlePage Resource The article page template resource, must not be null or empty.
return Newscoop\Entity\OutputSetting This object for chaining purposes.

setErrorPage() public method

Set the error page template resource.
public setErrorPage ( Resource $errorPage = null ) : Newscoop\Entity\OutputSetting
$errorPage Resource The error page template resource, must not be null or empty.
return Newscoop\Entity\OutputSetting This object for chaining purposes.

setFrontPage() public method

Set the front page template resource.
public setFrontPage ( Resource $frontPage = null ) : Newscoop\Entity\OutputSetting
$frontPage Resource The front page template resource, must not be null or empty.
return Newscoop\Entity\OutputSetting This object for chaining purposes.

setOutput() public method

Set the output that is the owner of this settings.
public setOutput ( Output $output ) : Newscoop\Entity\OutputSetting
$output Output The output that is the owner of this settings, must not be null or empty.
return Newscoop\Entity\OutputSetting This object for chaining purposes.

setSectionPage() public method

Set the section page template resource.
public setSectionPage ( Resource $sectionPage = null ) : Newscoop\Entity\OutputSetting
$sectionPage Resource The section page template resource, must not be null or empty.
return Newscoop\Entity\OutputSetting This object for chaining purposes.

Property Details

$articlePage protected_oe property

protected Newscoop\Entity\Resource $articlePage
return Newscoop\Entity\Resource

$errorPage protected_oe property

protected Newscoop\Entity\Resource $errorPage
return Newscoop\Entity\Resource

$frontPage protected_oe property

protected Newscoop\Entity\Resource $frontPage
return Newscoop\Entity\Resource

$output protected_oe property

protected Newscoop\Entity\Output $output
return Newscoop\Entity\Output

$sectionPage protected_oe property

protected Newscoop\Entity\Resource $sectionPage
return Newscoop\Entity\Resource