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

Copies all properties from a given sfWebResponse object to the current one.
public copyProperties ( sfWebResponse $response )
$response sfWebResponse An sfWebResponse instance
Пример #1
0
 /**
  * Copies all properties from a given opWebResponse object to the current one.
  *
  * @param sfWebResponse $response  An sfWebResponse instance
  *
  * @see sfWebResponse->copyProperties()
  */
 public function copyProperties(sfWebResponse $response)
 {
     parent::copyProperties($response);
     if ($response instanceof opWebResponse) {
         $this->smtStylesheets = $response->getSmtStylesheets(self::RAW);
         $this->smtJavascripts = $response->getSmtJavascripts(self::RAW);
     }
 }