fuel/fuel/core/classes/theme.php
public function set_template($template)
	{
		// make sure the template is a View
		if (is_string($template))
		{
			$this->template = $this->view($template);
		}
		else
		{
			$this->template = $template;
		}

		// return the template view for chaining
		return $this->template;
	}
public function set_template($template)
	{
		// make sure the template is a View
		if (is_string($template))
		{
			$this->template = $this->view($template);
		}
		else
		{
			$this->template = $template;
		}

		// return the template view for chaining
		return $this->template;
	}
public function set_template ( $ template ) { // make sure the template is a View if ( is_string ( $ template ) ) { $ this -> template = $ this -> view ( $ template ) ; } else { $ this -> template = $ template ; } // return the template view for chaining return $ this -> template ; }
Sets a template for a theme

@param   string  $template Name of the template view
@return  View
Sets a template for a theme