src/Neuron/Core/Text.php
public static function __getInstance ()
	{
		static $in;
		if (empty ($in)) 
		{
			if (isset ($_SESSION['opensocial_messagebundle']))
			{
				$in = new Neuron_Core_MessageBundleText ($_SESSION['opensocial_messagebundle']);
			}
			else
			{
				$in = new Neuron_Core_Text ();
			}
		}
		return $in;
	}
public static function __getInstance ()
	{
		static $in;
		if (empty ($in)) 
		{
			if (isset ($_SESSION['opensocial_messagebundle']))
			{
				$in = new Neuron_Core_MessageBundleText ($_SESSION['opensocial_messagebundle']);
			}
			else
			{
				$in = new Neuron_Core_Text ();
			}
		}
		return $in;
	}
/*
Return an instance