src/UI/Template.php
public static function renderString( $string, $elements = array() )
	{
		$template	= new self();
		$template->template	= $string;
		$template->add( $elements );
		return $template->create();
	}
public static function renderString( $string, $elements = array() )
	{
		$template	= new self();
		$template->template	= $string;
		$template->add( $elements );
		return $template->create();
	}
public static function renderString ( $ string , $ elements = array ( ) ) { $ template = new self ( ) ; $ template -> template = $ string ; $ template -> add ( $ elements ) ; return $ template -> create ( ) ; }
Renders a Template String with given Elements statically.
@access		public
@static
@param		string		$string			Template String
@param		array		$elements		Map of Elements for Template String
@return		string
Renders a Template String with given Elements statically .