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

Inheritance: ITagCloudCore
Mostra file Open project: WeTeam/WeBlog

Public Methods

Method 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

Protected Methods

Method 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 method

public GetSortNames ( string sortingOptions ) : string[]
sortingOptions string
return string[]

GetTagUrl() public method

Get the URL for a tag
public GetTagUrl ( string tag ) : string
tag string The tag to get the URL for
return string

GetTagWeightClass() public method

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
return string

GetWeight() protected method

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

LoadTags() protected method

Load the tags for the current blog into this control
protected LoadTags ( ) : void
return void

TagCloudCore() public method

public TagCloudCore ( IBlogManager blogManagerInstance ) : System.Collections.Generic
blogManagerInstance IBlogManager
return System.Collections.Generic