Method | Description | |
---|---|---|
CleanInvalidXmlChars ( string text ) : string | ||
GetAllTags ( string group ) : string | ||
GetGravatar ( string email, int size, string memberName, bool getRawUrl = false ) : string | ||
GetLocalAvatar ( string imgPath, int minSize, string memberName, bool getRawUrl = false ) : string | ||
GetMember ( int id ) : umbraco.cms.businesslogic.member.Member | ||
GetMemberAvatar ( IPublishedContent member, int avatarSize, bool getRawUrl = false ) : string | ||
GetMemberAvatarImage ( IPublishedContent member ) : Image | ||
GetProjectCompatibleVersions ( ) : IEnumerable |
Returns a dictionary of project id => any version that has been flagged as being compatible
|
|
GetProjectCompatibleVersions ( int projectId ) : IEnumerable |
||
GetProjectContributors ( int projectId ) : List |
||
GetProjectFileDownloadCount ( int fileId ) : int | ||
GetProjectMemberVotes ( int projectId ) : int | ||
GetProjectTotalDownload ( ) : int>.Dictionary |
Returns a dictionary of project id => total downloads
|
|
GetProjectTotalDownloadCount ( int projectId ) : int | ||
GetProjectTotalVotes ( ) : int>.Dictionary |
Returns a dictionary of project id => total karma
|
|
GetProjectTotalVotes ( int projectId ) : int | ||
GetProjectsMemberHasDownloaded ( int memberId ) : IEnumerable |
||
GetProjectsMemberHasVotedUp ( int memberId ) : IEnumerable |
||
GetReleaseDownloadCount ( int projectId ) : int | ||
GetScreenshotPath ( string screenshot ) : string | ||
HasMemberDownloadedPackage ( int memberId, int projectId ) : bool | ||
IsAdmin ( int id ) : bool | ||
IsHq ( int id ) : bool | ||
IsProjectContributor ( int memberId, int projectId ) : bool | ||
Sanitize ( string html ) : string |
sanitize any potentially dangerous tags from the provided raw HTML input using a whitelist based approach, leaving the "safe" HTML tags
|
|
StripHTML ( string inputString ) : string |
Method | Description | |
---|---|---|
MemberAvatarPath ( IPublishedContent member ) : string |
public static CleanInvalidXmlChars ( string text ) : string | ||
text | string | |
return | string |
public static GetAllTags ( string group ) : string | ||
group | string | |
return | string |
public static GetGravatar ( string email, int size, string memberName, bool getRawUrl = false ) : string | ||
string | ||
size | int | |
memberName | string | |
getRawUrl | bool | |
return | string |
public static GetLocalAvatar ( string imgPath, int minSize, string memberName, bool getRawUrl = false ) : string | ||
imgPath | string | |
minSize | int | |
memberName | string | |
getRawUrl | bool | |
return | string |
public static GetMember ( int id ) : umbraco.cms.businesslogic.member.Member | ||
id | int | |
return | umbraco.cms.businesslogic.member.Member |
public static GetMemberAvatar ( IPublishedContent member, int avatarSize, bool getRawUrl = false ) : string | ||
member | IPublishedContent | |
avatarSize | int | |
getRawUrl | bool | |
return | string |
public static GetMemberAvatarImage ( IPublishedContent member ) : Image | ||
member | IPublishedContent | |
return | Image |
public static GetProjectCompatibleVersions ( ) : IEnumerable |
||
return | IEnumerable |
public static GetProjectCompatibleVersions ( int projectId ) : IEnumerable |
||
projectId | int | |
return | IEnumerable |
public static GetProjectContributors ( int projectId ) : List |
||
projectId | int | |
return | List |
public static GetProjectFileDownloadCount ( int fileId ) : int | ||
fileId | int | |
return | int |
public static GetProjectMemberVotes ( int projectId ) : int | ||
projectId | int | |
return | int |
public static GetProjectTotalDownload ( ) : int>.Dictionary |
||
return | int>.Dictionary |
public static GetProjectTotalDownloadCount ( int projectId ) : int | ||
projectId | int | |
return | int |
public static GetProjectTotalVotes ( ) : int>.Dictionary |
||
return | int>.Dictionary |
public static GetProjectTotalVotes ( int projectId ) : int | ||
projectId | int | |
return | int |
public static GetProjectsMemberHasDownloaded ( int memberId ) : IEnumerable |
||
memberId | int | |
return | IEnumerable |
public static GetProjectsMemberHasVotedUp ( int memberId ) : IEnumerable |
||
memberId | int | |
return | IEnumerable |
public static GetReleaseDownloadCount ( int projectId ) : int | ||
projectId | int | |
return | int |
public static GetScreenshotPath ( string screenshot ) : string | ||
screenshot | string | |
return | string |
public static HasMemberDownloadedPackage ( int memberId, int projectId ) : bool | ||
memberId | int | |
projectId | int | |
return | bool |
public static IsProjectContributor ( int memberId, int projectId ) : bool | ||
memberId | int | |
projectId | int | |
return | bool |
public static Sanitize ( string html ) : string | ||
html | string | |
return | string |
public static StripHTML ( string inputString ) : string | ||
inputString | string | |
return | string |