All pastes #630814 Raw Edit

Unnamed

public text v1 · immutable
#630814 ·published 2007-07-23 14:44 UTC
rendered paste body
<?
Sub Main( itemInterface as RbItemInterface )
	dim pageTitle as string = project.name + " :: " + itemInterface.name
	dim pageTitle as string = itemInterface.name
	
	#includeRHTML "includes/header.rhtml"
?>
	<ul class="functionlist">
<? 
		for i as integer = 0 to ubound( itemInterface.methods )
			dim memberMethod as RbMemberMethod = itemInterface.methods( i )
			dim methodPath as string = "/modules/" + itemInterface.name + "/methods/" + str( i ) +".htm"
			
			runRHTML( "method.rhtml", methodPath, "main", itemClass, memberMethod )
			
			if memberMethod.docTags.hasTag( "summary" ) then
?>
				<li><a href="<?=getRelativePath( methodPath ) ?>"><?=memberMethod.name ?></a> - <?=memberMethod.docTags.value( "summary" ) ?></li>
			<? else ?>
				<li><a href="<?=getRelativePath( methodPath ) ?>"><?=memberMethod.name ?></a></li>
<? 
			end if
		next
?>
	</ul>
<? 
	#includeRHTML "includes/footer.rhtml"
End Sub
?>