C# Class SobekCM.Library.ItemViewer.Viewers.Citation_MARC_ItemViewer

Item viewer displays the descriptive citation in MARC21 format
This class extends the abstract class abstractNoPaginationItemViewer and implements the iItemViewer interface.
Inheritance: abstractNoPaginationItemViewer
显示文件 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream

This method does nothing, since nothing is added to the place holder as a control for this item viewer

Citation_MARC_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest ) : System

Constructor for a new instance of the Citation_MARC_ItemViewer class, used to display the descriptive citation in MARC21 format

MARC_String ( Custom_Tracer Tracer ) : string

Returns the basic information about this digital resource in MARC HTML format

The width statement for this rendering defaults to 95% of width

MARC_String ( string Width, Custom_Tracer Tracer ) : string

Returns the basic information about this digital resource in MARC HTML format

Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Write the item viewer main section as HTML directly to the HTTP output stream

Method Details

Add_Main_Viewer_Section() public method

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream
This method does nothing, since nothing is added to the place holder as a control for this item viewer
public Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form into which the bulk of the item viewer's output is displayed
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Citation_MARC_ItemViewer() public method

Constructor for a new instance of the Citation_MARC_ItemViewer class, used to display the descriptive citation in MARC21 format
public Citation_MARC_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest ) : System
BriefItem SobekCM.Core.BriefItem.BriefItemInfo Digital resource object
CurrentUser SobekCM.Core.Users.User_Object Current user, who may or may not be logged on
CurrentRequest SobekCM.Core.Navigation.Navigation_Object Information about the current request
return System

MARC_String() public method

Returns the basic information about this digital resource in MARC HTML format
The width statement for this rendering defaults to 95% of width
public MARC_String ( Custom_Tracer Tracer ) : string
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return string

MARC_String() public method

Returns the basic information about this digital resource in MARC HTML format
public MARC_String ( string Width, Custom_Tracer Tracer ) : string
Width string Width statement to be included in the MARC21 table
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return string

Write_Main_Viewer_Section() public method

Write the item viewer main section as HTML directly to the HTTP output stream
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void