Newscoop\Entity\OutputSettings::copyTo PHP Метод

copyTo() публичный Метод

Copies the cvcontent from this object to the provided object.
public copyTo ( $outputSetting )
    function copyTo($outputSetting)
    {
        $outputSetting->setOutput($this->getOutput());
        $outputSetting->setFrontPage($this->getFrontPage());
        $outputSetting->setSectionPage($this->getSectionPage());
        $outputSetting->setArticlePage($this->getArticlePage());
        $outputSetting->setErrorPage($this->getErrorPage());
    }

Usage Example

 /**
  * Copies the cvcontent from this object to the provided object.
  */
 function copyTo($outputSetting)
 {
     parent::copyTo($outputSetting);
     $outputSetting->setSection($this->getSection());
 }
All Usage Examples Of Newscoop\Entity\OutputSettings::copyTo