public function setMergeVars(array $vars){
        $this->merge_vars = array();
        foreach($vars as $name => $content){
            $this->addMergeVar($name, $content);
        }
        return $this;
    }
public function setMergeVars(array $vars){
        $this->merge_vars = array();
        foreach($vars as $name => $content){
            $this->addMergeVar($name, $content);
        }
        return $this;
    }
public function setMergeVars ( array $ vars ) { $ this -> merge_vars = array ( ) ; foreach ( $ vars as $ name => $ content ) { $ this -> addMergeVar ( $ name , $ content ) ; } return $ this ; }
Set all merge variables for this recipient. Will overwrite any currently set merge vars.
@param array $vars associative array
@return $this
Set all merge variables for this recipient . Will overwrite any currently set merge vars .