public function getPluginMessage()
	{
		if (!count($this->pluginMessageQueue))
		{
			$session = \App::get('session');
			$pluginMessage = $session->get('plugin.message.queue');
			if (count($pluginMessage))
			{
				$this->pluginMessageQueue = $pluginMessage;
				$session->set('plugin.message.queue', null);
			}
		}

		foreach ($this->pluginMessageQueue as $k => $cmq)
		{
			if ($cmq['option'] != $this->option)
			{
				$this->pluginMessageQueue[$k] = array();
			}
		}

		return $this->pluginMessageQueue;
	}
public function getPluginMessage()
	{
		if (!count($this->pluginMessageQueue))
		{
			$session = \App::get('session');
			$pluginMessage = $session->get('plugin.message.queue');
			if (count($pluginMessage))
			{
				$this->pluginMessageQueue = $pluginMessage;
				$session->set('plugin.message.queue', null);
			}
		}

		foreach ($this->pluginMessageQueue as $k => $cmq)
		{
			if ($cmq['option'] != $this->option)
			{
				$this->pluginMessageQueue[$k] = array();
			}
		}

		return $this->pluginMessageQueue;
	}
public function getPluginMessage ( ) { if ( ! count ( $ this -> pluginMessageQueue ) ) { $ session = \ App :: get ( 'session' ) ; $ pluginMessage = $ session -> get ( 'plugin.message.queue' ) ; if ( count ( $ pluginMessage ) ) { $ this -> pluginMessageQueue = $ pluginMessage ; $ session -> set ( 'plugin.message.queue' , null ) ; } } foreach ( $ this -> pluginMessageQueue as $ k => $ cmq ) { if ( $ cmq [ 'option' ] != $ this -> option ) { $ this -> pluginMessageQueue [ $ k ] = array ( ) ; } } return $ this -> pluginMessageQueue ; }
Method to get component messages

@return  array
@deprecated
Method to get component messages