src/Neuron/Core/Template.php
private function getText ($sKey, $sSection = null, $sFile = null, $sDefault = null)
	{
		if (!isset ($this->objText))
		{
			$this->objText = Neuron_Core_Text::__getInstance ();
		}
		
		$txt = Neuron_Core_Tools::output_varchar
		(
			$this->objText->get 
			(
				$sKey, 
				isset ($sSection) ? $sSection : $this->sTextSection, 
				isset ($sFile) ? $sFile : $this->sTextFile,
				false
			)
		);

		if (!$txt)
		{
			return $sDefault;
		}

		return $txt;
	}
private function getText ($sKey, $sSection = null, $sFile = null, $sDefault = null)
	{
		if (!isset ($this->objText))
		{
			$this->objText = Neuron_Core_Text::__getInstance ();
		}
		
		$txt = Neuron_Core_Tools::output_varchar
		(
			$this->objText->get 
			(
				$sKey, 
				isset ($sSection) ? $sSection : $this->sTextSection, 
				isset ($sFile) ? $sFile : $this->sTextFile,
				false
			)
		);

		if (!$txt)
		{
			return $sDefault;
		}

		return $txt;
	}
private function getText ( $ sKey , $ sSection = null , $ sFile = null , $ sDefault = null ) { if ( ! isset ( $ this -> objText ) ) { $ this -> objText = Neuron_Core_Text :: __getInstance ( ) ; } $ txt = Neuron_Core_Tools :: output_varchar ( $ this -> objText -> get ( $ sKey , isset ( $ sSection ) ? $ sSection : $ this -> sTextSection , isset ( $ sFile ) ? $ sFile : $ this -> sTextFile , false ) ) ; if ( ! $ txt ) { return $ sDefault ; } return $ txt ; }
Intern function
Intern function