src/UI/Template.php
public function getTaggedComment( $tag, $xml = TRUE )
	{
		if( preg_match( '/<%--'.$tag.'(.*)--%>/sU', $this->template, $tag ) )
			return $xml ? $tag[0] : $tag[1];
		return NULL;
	}
public function getTaggedComment( $tag, $xml = TRUE )
	{
		if( preg_match( '/<%--'.$tag.'(.*)--%>/sU', $this->template, $tag ) )
			return $xml ? $tag[0] : $tag[1];
		return NULL;
	}
public function getTaggedComment ( $ tag , $ xml = TRUE ) { if ( preg_match ( '/<%--' . $ tag . '(.*)--%>/sU' , $ this -> template , $ tag ) ) return $ xml ? $ tag [ 0 ] : $ tag [ 1 ] ; return NULL ; }
Returns a tagged comment.
@param		string		$tag		Comment Tag
@param		boolean		$xml		Flag: with or without Delimiter
@return		string					Comment or NULL
@todo		quote specialchars in tagname
Returns a tagged comment .