C# Class Sitecore.Modules.WeBlog.Components.TagCloudCore

Inheritance: ITagCloudCore
Afficher le fichier Open project: WeTeam/WeBlog

Méthodes publiques

Méthode Description
GetSortNames ( string sortingOptions ) : string[]
GetTagUrl ( string tag ) : string

Get the URL for a tag

GetTagWeightClass ( int tagWeight ) : string

Calculate the weight class to use for the current tag

TagCloudCore ( IBlogManager blogManagerInstance ) : System.Collections.Generic

Méthodes protégées

Méthode Description
GetWeight ( double weightPercent ) : int

Calculate the weight percentile for this tag

LoadTags ( ) : void

Load the tags for the current blog into this control

Method Details

GetSortNames() public méthode

public GetSortNames ( string sortingOptions ) : string[]
sortingOptions string
Résultat string[]

GetTagUrl() public méthode

Get the URL for a tag
public GetTagUrl ( string tag ) : string
tag string The tag to get the URL for
Résultat string

GetTagWeightClass() public méthode

Calculate the weight class to use for the current tag
public GetTagWeightClass ( int tagWeight ) : string
tagWeight int The weight to get the weight class for
Résultat string

GetWeight() protected méthode

Calculate the weight percentile for this tag
protected GetWeight ( double weightPercent ) : int
weightPercent double The weight as a percentage
Résultat int

LoadTags() protected méthode

Load the tags for the current blog into this control
protected LoadTags ( ) : void
Résultat void

TagCloudCore() public méthode

public TagCloudCore ( IBlogManager blogManagerInstance ) : System.Collections.Generic
blogManagerInstance IBlogManager
Résultat System.Collections.Generic