C# Class Rock.Web.UI.Controls.FollowingsHelper

Helper class that allows you to configure a control (Image, Panel, etc) as a "Following" control
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
SetFollowing ( IEntity followEntity, WebControl followControl, Person follower ) : void

Configures a control to display and toggle following for the specified entity

Method Details

SetFollowing() public static méthode

Configures a control to display and toggle following for the specified entity
public static SetFollowing ( IEntity followEntity, WebControl followControl, Person follower ) : void
followEntity IEntity The follow entity. NOTE: Make sure to use PersonAlias instead of Person when following a Person
followControl System.Web.UI.WebControls.WebControl The follow control.
follower Person The follower.
Résultat void