C# Class Castle.MonoRail.ActiveRecordScaffold.Helpers.PresentationHelper

Inheritance: Castle.MonoRail.Framework.Helpers.AbstractHelper
ファイルを表示 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
BestAlignFor ( Type type ) : String
LinkToBack ( String text, IDictionary attributes ) : String
LinkToConfirm ( ActiveRecordModel model, bool useModelName, String text, object key, IDictionary attributes ) : String
LinkToEdit ( ActiveRecordModel model, bool useModelName, String text, object key, IDictionary attributes ) : String
LinkToList ( ActiveRecordModel model, bool useModelName, String text, IDictionary attributes ) : String
LinkToNew ( ActiveRecordModel model, bool useModelName, String text, IDictionary attributes ) : String
LinkToRemove ( ActiveRecordModel model, bool useModelName, String text, object key, IDictionary attributes ) : String
StartAlternateTR ( int index, String styleClass, String altStyleClass ) : String

Method Details

BestAlignFor() public method

public BestAlignFor ( Type type ) : String
type System.Type
return String

LinkToBack() public method

public LinkToBack ( String text, IDictionary attributes ) : String
text String
attributes IDictionary
return String

LinkToConfirm() public method

public LinkToConfirm ( ActiveRecordModel model, bool useModelName, String text, object key, IDictionary attributes ) : String
model Castle.ActiveRecord.Framework.Internal.ActiveRecordModel
useModelName bool
text String
key object
attributes IDictionary
return String

LinkToEdit() public method

public LinkToEdit ( ActiveRecordModel model, bool useModelName, String text, object key, IDictionary attributes ) : String
model Castle.ActiveRecord.Framework.Internal.ActiveRecordModel
useModelName bool
text String
key object
attributes IDictionary
return String

LinkToList() public method

public LinkToList ( ActiveRecordModel model, bool useModelName, String text, IDictionary attributes ) : String
model Castle.ActiveRecord.Framework.Internal.ActiveRecordModel
useModelName bool
text String
attributes IDictionary
return String

LinkToNew() public method

public LinkToNew ( ActiveRecordModel model, bool useModelName, String text, IDictionary attributes ) : String
model Castle.ActiveRecord.Framework.Internal.ActiveRecordModel
useModelName bool
text String
attributes IDictionary
return String

LinkToRemove() public method

public LinkToRemove ( ActiveRecordModel model, bool useModelName, String text, object key, IDictionary attributes ) : String
model Castle.ActiveRecord.Framework.Internal.ActiveRecordModel
useModelName bool
text String
key object
attributes IDictionary
return String

StartAlternateTR() public method

public StartAlternateTR ( int index, String styleClass, String altStyleClass ) : String
index int
styleClass String
altStyleClass String
return String