public function setGlobalMergeVars(array $vars){
        $this->global_merge_vars = array();
        foreach($vars as $name => $content){
            $this->addGlobalMergeVar($name, $content);
        }
        return $this;
    }
public function setGlobalMergeVars(array $vars){
        $this->global_merge_vars = array();
        foreach($vars as $name => $content){
            $this->addGlobalMergeVar($name, $content);
        }
        return $this;
    }
public function setGlobalMergeVars ( array $ vars ) { $ this -> global_merge_vars = array ( ) ; foreach ( $ vars as $ name => $ content ) { $ this -> addGlobalMergeVar ( $ name , $ content ) ; } return $ this ; }
Set all global merge variables. Will overwrite any currently set global merge variables.
@param array $vars array('name1' => 'content1', 'name2' => 'content2')
@return $this
Set all global merge variables . Will overwrite any currently set global merge variables .