app/code/community/Nexcessnet/Turpentine/Model/Session.php
public function loadMessages($blockName) {
        $messages = $this->getMessages();
        if (is_array(@$messages[$blockName])) {
            return $messages[$blockName];
        } else {
            return array();
        }
    }
public function loadMessages($blockName) {
        $messages = $this->getMessages();
        if (is_array(@$messages[$blockName])) {
            return $messages[$blockName];
        } else {
            return array();
        }
    }
public function loadMessages ( $ blockName ) { $ messages = $ this -> getMessages ( ) ; if ( is_array ( @ $ messages [ $ blockName ] ) ) { return $ messages [ $ blockName ] ; } else { return array ( ) ; } }
Retrieve the messages for a given messages block

@param  string $blockName
@return array
Retrieve the messages for a given messages block