app/code/community/Nexcessnet/Turpentine/Model/Session.php
public function saveMessages($blockName, $messages) {
        $allMessages = $this->getMessages();
        $allMessages[$blockName] = array_merge(
            $this->loadMessages($blockName), $messages );
        $this->setMessages($allMessages);
    }
public function saveMessages($blockName, $messages) {
        $allMessages = $this->getMessages();
        $allMessages[$blockName] = array_merge(
            $this->loadMessages($blockName), $messages );
        $this->setMessages($allMessages);
    }
public function saveMessages ( $ blockName , $ messages ) { $ allMessages = $ this -> getMessages ( ) ; $ allMessages [ $ blockName ] = array_merge ( $ this -> loadMessages ( $ blockName ) , $ messages ) ; $ this -> setMessages ( $ allMessages ) ; }
Save the messages for a given block to the session

@param  string $blockName
@param  array $messages
@return null
Save the messages for a given block to the session