addMeta() public method

Adds a meta header.
public addMeta ( string $key, string $value, boolean $replace = true, boolean $escape = true )
$key string Name of the header
$value string Meta header value (if null, remove the meta)
$replace boolean true if it's replaceable
$escape boolean true for escaping the header
 /**
  * Update the response meta values with the data contained within an array.
  *
  * @param array $data
  * @param sfWebResponse $sf_response
  * @return void
  */
 public static function setCommonMetas(array $data, sfWebResponse $sf_response)
 {
     foreach ($data as $key => $value) {
         $sf_response->addMeta($key, $value);
     }
 }