original_string: public function outputMsgs() {
  		$messages = $this->session->get('flashmsgs');
  		$output = null;
  
  		if ($messages) {
  			foreach ($messages as $key => $message) {
  				$output .= '<div class="' . $message['type'] . '"><p>' . $message['content'] . '</p></div>';
  			}
  		}
  
  		return $output;
  	}
code: public function outputMsgs() {
  		$messages = $this->session->get('flashmsgs');
  		$output = null;
  
  		if ($messages) {
  			foreach ($messages as $key => $message) {
  				$output .= '<div class="' . $message['type'] . '"><p>' . $message['content'] . '</p></div>';
  			}
  		}
  
  		return $output;
  	}
code_tokens: public function outputMsgs ( ) { $ messages = $ this -> session -> get ( 'flashmsgs' ) ; $ output = null ; if ( $ messages ) { foreach ( $ messages as $ key => $ message ) { $ output .= '<div class="' . $ message [ 'type' ] . '"><p>' . $ message [ 'content' ] . '</p></div>' ; } } return $ output ; }
docstring: Build HTML of messages in session array
  
  @return $output HTML string with messages
docstring_tokens: Build HTML of messages in session array