/// <summary> /// Gets a list of links of tags assigned for the specific document pointing to the page with URL specified. /// </summary> /// <param name="parameters">ID of the group document tags belong to; String containing all the tags related to the document; URL of the page displaying other documents of the specified tag</param> public static object GetDocumentTags(params object[] parameters) { switch (parameters.Length) { case 3: return(BlogFunctions.GetDocumentTags(parameters[0], parameters[1], ValidationHelper.GetString(parameters[2], ""))); default: throw new NotSupportedException(); } }
/// <summary> /// Returns user name. /// </summary> /// <param name="parameters">User id</param> public static object GetUserName(params object[] parameters) { switch (parameters.Length) { case 1: return(BlogFunctions.GetUserName(parameters[0])); default: throw new NotSupportedException(); } }
/// <summary> /// Returns number of comments of given blog. /// </summary> /// <param name="parameters">(Post document id; Post alias path) OR (Post document id; Post alias path; Indicates if trackback comments should be included)</param> public static object GetBlogCommentsCount(params object[] parameters) { switch (parameters.Length) { case 2: return(BlogFunctions.GetBlogCommentsCount(parameters[0], parameters[1])); case 3: return(BlogFunctions.GetBlogCommentsCount(parameters[0], parameters[1], ValidationHelper.GetBoolean(parameters[2], true))); default: throw new NotSupportedException(); } }