Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
MemberAvatarPath ( IPublishedContent member ) : string |
public static CleanInvalidXmlChars ( string text ) : string | ||
text | string | |
Результат | string |
public static GetAllTags ( string group ) : string | ||
group | string | |
Результат | string |
public static GetGravatar ( string email, int size, string memberName, bool getRawUrl = false ) : string | ||
string | ||
size | int | |
memberName | string | |
getRawUrl | bool | |
Результат | string |
public static GetLocalAvatar ( string imgPath, int minSize, string memberName, bool getRawUrl = false ) : string | ||
imgPath | string | |
minSize | int | |
memberName | string | |
getRawUrl | bool | |
Результат | string |
public static GetMember ( int id ) : umbraco.cms.businesslogic.member.Member | ||
id | int | |
Результат | umbraco.cms.businesslogic.member.Member |
public static GetMemberAvatar ( IPublishedContent member, int avatarSize, bool getRawUrl = false ) : string | ||
member | IPublishedContent | |
avatarSize | int | |
getRawUrl | bool | |
Результат | string |
public static GetMemberAvatarImage ( IPublishedContent member ) : Image | ||
member | IPublishedContent | |
Результат | Image |
public static GetProjectCompatibleVersions ( ) : IEnumerable |
||
Результат | IEnumerable |
public static GetProjectCompatibleVersions ( int projectId ) : IEnumerable |
||
projectId | int | |
Результат | IEnumerable |
public static GetProjectContributors ( int projectId ) : List |
||
projectId | int | |
Результат | List |
public static GetProjectFileDownloadCount ( int fileId ) : int | ||
fileId | int | |
Результат | int |
public static GetProjectMemberVotes ( int projectId ) : int | ||
projectId | int | |
Результат | int |
public static GetProjectTotalDownload ( ) : int>.Dictionary |
||
Результат | int>.Dictionary |
public static GetProjectTotalDownloadCount ( int projectId ) : int | ||
projectId | int | |
Результат | int |
public static GetProjectTotalVotes ( ) : int>.Dictionary |
||
Результат | int>.Dictionary |
public static GetProjectTotalVotes ( int projectId ) : int | ||
projectId | int | |
Результат | int |
public static GetProjectsMemberHasDownloaded ( int memberId ) : IEnumerable |
||
memberId | int | |
Результат | IEnumerable |
public static GetProjectsMemberHasVotedUp ( int memberId ) : IEnumerable |
||
memberId | int | |
Результат | IEnumerable |
public static GetReleaseDownloadCount ( int projectId ) : int | ||
projectId | int | |
Результат | int |
public static GetScreenshotPath ( string screenshot ) : string | ||
screenshot | string | |
Результат | string |
public static HasMemberDownloadedPackage ( int memberId, int projectId ) : bool | ||
memberId | int | |
projectId | int | |
Результат | bool |
public static IsProjectContributor ( int memberId, int projectId ) : bool | ||
memberId | int | |
projectId | int | |
Результат | bool |
public static Sanitize ( string html ) : string | ||
html | string | |
Результат | string |
public static StripHTML ( string inputString ) : string | ||
inputString | string | |
Результат | string |