Property | Type | Description | |
---|---|---|---|
EmailCommentToAdmin | void |
Method | Description | |
---|---|---|
Approve ( |
Approves the comment, and removes it from the SPAM folder or from the Trash folder.
|
|
CalculateChecksum ( string text ) : int |
Calculates a simple checksum of the specified text. This is used for comment filtering purposes. Once deployed, this algorithm shouldn't change.
|
|
ConfirmSpam ( |
Confirms the feedback as spam and moves it to the trash.
|
|
Create ( |
Creates a feedback item in the database.
|
|
Delete ( |
Confirms the feedback as spam and moves it to the trash.
|
|
Destroy ( |
Confirms the feedback as spam and moves it to the trash.
|
|
Destroy ( FeedbackStatusFlag feedbackStatus ) : void |
Destroys all non-active emails that meet the status.
|
|
FeedbackItem ( FeedbackType type ) : System |
Creates a new FeedbackItem instance.
|
|
Get ( int feedbackId ) : |
Gets the specified feedback by id.
|
|
GetFeedbackCounts ( ) : |
Gets the feedback counts for the various top level statuses.
|
|
GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IPagedCollection |
Returns a pageable collection of comments.
|
|
GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackType type ) : IPagedCollection |
Returns a pageable collection of comments.
|
|
GetRecentComments ( int itemCount ) : IList |
Returns the itemCount most recent active comments.
|
|
Update ( |
Updates the specified entry in the data provider.
|
Method | Description | |
---|---|---|
IsStatusSet ( FeedbackStatusFlag status ) : bool |
Checks to see if the specified status bit is set.
|
|
SetStatus ( FeedbackStatusFlag status, bool setOn ) : void |
Turns the specified status bit on or off depending on the setOn value.
|
Method | Description | |
---|---|---|
EmailCommentToAdmin ( |
public static Approve ( |
||
feedback | ||
return | void |
public static CalculateChecksum ( string text ) : int | ||
text | string | Text. |
return | int |
public static ConfirmSpam ( |
||
feedback | The feedback. | |
return | void |
public static Create ( |
||
feedback | The feedback. | |
filter | CommentFilter | Spam filter. |
return | int |
public static Delete ( |
||
feedback | The feedback. | |
return | void |
public static Destroy ( |
||
feedback | The feedback. | |
return | void |
public static Destroy ( FeedbackStatusFlag feedbackStatus ) : void | ||
feedbackStatus | FeedbackStatusFlag | The feedback. |
return | void |
public FeedbackItem ( FeedbackType type ) : System | ||
type | FeedbackType | Ptype. |
return | System |
public static Get ( int feedbackId ) : |
||
feedbackId | int | The feedback id. |
return |
public static GetFeedbackCounts ( ) : |
||
return |
public static GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackStatusFlag excludeStatusMask, FeedbackType type ) : IPagedCollection |
||
pageIndex | int | |
pageSize | int | |
status | FeedbackStatusFlag | A flag for the status types to return. |
excludeStatusMask | FeedbackStatusFlag | A flag for the statuses to exclude. |
type | FeedbackType | The type of feedback to return. |
return | IPagedCollection |
public static GetPagedFeedback ( int pageIndex, int pageSize, FeedbackStatusFlag status, FeedbackType type ) : IPagedCollection |
||
pageIndex | int | |
pageSize | int | |
status | FeedbackStatusFlag | A flag for the status types to return. |
type | FeedbackType | The type of feedback to return. |
return | IPagedCollection |
public static GetRecentComments ( int itemCount ) : IList |
||
itemCount | int | |
return | IList |
protected IsStatusSet ( FeedbackStatusFlag status ) : bool | ||
status | FeedbackStatusFlag | The status. |
return | bool |
protected SetStatus ( FeedbackStatusFlag status, bool setOn ) : void | ||
status | FeedbackStatusFlag | |
setOn | bool | |
return | void |
public static Update ( |
||
feedbackItem | Entry. | |
return | bool |