fuel/fuel/core/classes/html.php
public static function doctype($type = 'xhtml1-trans')
	{
		if(static::$doctypes === null)
		{
			\Config::load('doctypes', true);
			static::$doctypes = \Config::get('doctypes', array());
		}

		if(is_array(static::$doctypes) and isset(static::$doctypes[$type]))
		{
			if($type == "html5")
			{
				static::$html5 = true;
			}
			return static::$doctypes[$type];
		}
		else
		{
			return false;
		}
	}
public static function doctype($type = 'xhtml1-trans')
	{
		if(static::$doctypes === null)
		{
			\Config::load('doctypes', true);
			static::$doctypes = \Config::get('doctypes', array());
		}

		if(is_array(static::$doctypes) and isset(static::$doctypes[$type]))
		{
			if($type == "html5")
			{
				static::$html5 = true;
			}
			return static::$doctypes[$type];
		}
		else
		{
			return false;
		}
	}
public static function doctype ( $ type = 'xhtml1-trans' ) { if ( static :: $ doctypes === null ) { \ Config :: load ( 'doctypes' , true ) ; static :: $ doctypes = \ Config :: get ( 'doctypes' , array ( ) ) ; } if ( is_array ( static :: $ doctypes ) and isset ( static :: $ doctypes [ $ type ] ) ) { if ( $ type == "html5" ) { static :: $ html5 = true ; } return static :: $ doctypes [ $ type ] ; } else { return false ; } }
Generates a html doctype tag

@param	string	doctype declaration key from doctypes config
@return	string
Generates a html doctype tag