code/application/application.php
public function getTemplate($params = false)
	{
		$template = new stdClass;

		$template->template = 'system';
		$template->params   = new Registry;

		if ($params)
		{
			return $template;
		}

		return $template->template;
	}
public function getTemplate($params = false)
	{
		$template = new stdClass;

		$template->template = 'system';
		$template->params   = new Registry;

		if ($params)
		{
			return $template;
		}

		return $template->template;
	}
public function getTemplate ( $ params = false ) { $ template = new stdClass ; $ template -> template = 'system' ; $ template -> params = new Registry ; if ( $ params ) { return $ template ; } return $ template -> template ; }
Gets the name of the current template.

@param   boolean  $params  An optional associative array of configuration settings

@return  mixed  System is the fallback.

@since   11.1
@deprecated  4.0
Gets the name of the current template .