Свойство | Тип | Описание | |
---|---|---|---|
$_CommentSort |
Метод | Описание | |
---|---|---|
AddJsCss ( $Sender ) | Add JS & CSS to the page. | |
Base_BeforeDiscussionContent_Handler ( $Sender ) | Add the "Stats" buttons to the discussion list. | |
Base_BeforeDiscussionTabs_Handler ( $Sender ) | Add the "Popular Questions" tab. | |
Base_GetAppSettingsMenuItems_Handler ( $Sender ) | Admin Toggle to turn Voting on/off | |
CategoriesController_Render_Before ( $Sender ) | ||
CommentModel_AfterConstruct_Handler ( CommentModel $CommentModel ) | Sort the comments by popularity if necessary | |
CommentSort ( ) | ||
DiscussionController_AfterCommentMeta_Handler ( $Sender ) | ||
DiscussionController_BeforeCommentDisplay_Handler ( $Sender ) | Insert sorting tabs after first comment. | |
DiscussionController_Render_Before ( $Sender ) | Add the vote.js file to discussions page, and handle sorting of answers. | |
DiscussionController_VoteComment_Create ( $Sender ) | Increment/decrement comment scores | |
DiscussionController_VoteDiscussion_Create ( $Sender ) | Increment/decrement discussion scores | |
DiscussionModel_AfterDiscussionSummaryQuery_Handler ( $Sender ) | Grab the score field whenever the discussions are queried. | |
DiscussionsController_AfterDiscussionFilters_Handler ( $Sender ) | ||
DiscussionsController_Popular_Create ( $Sender ) | Load popular discussions. | |
DiscussionsController_Render_Before ( $Sender ) | ||
OnDisable ( ) | If turning off scoring, make the forum go back to the traditional "jump to what I last read" functionality. | |
PostController_AfterCommentMeta_Handler ( $Sender ) | Insert the voting html on comments in a discussion. | |
PostController_Render_Before ( $Sender ) | Add voting css to post controller. | |
ProfileController_Render_Before ( $Sender ) | ||
SettingsController_ToggleVoting_Create ( $Sender ) | ||
SettingsController_Voting_Create ( $Sender ) | ||
Setup ( ) | Add a field to the db for storing the "State" of a question. |
public Base_BeforeDiscussionContent_Handler ( $Sender ) |
public Base_BeforeDiscussionTabs_Handler ( $Sender ) |
public Base_GetAppSettingsMenuItems_Handler ( $Sender ) |
public CategoriesController_Render_Before ( $Sender ) |
public CommentModel_AfterConstruct_Handler ( CommentModel $CommentModel ) | ||
$CommentModel | CommentModel |
public DiscussionController_AfterCommentMeta_Handler ( $Sender ) |
public DiscussionController_BeforeCommentDisplay_Handler ( $Sender ) |
public DiscussionController_Render_Before ( $Sender ) |
public DiscussionController_VoteComment_Create ( $Sender ) |
public DiscussionController_VoteDiscussion_Create ( $Sender ) |
public DiscussionModel_AfterDiscussionSummaryQuery_Handler ( $Sender ) |
public DiscussionsController_AfterDiscussionFilters_Handler ( $Sender ) |
public DiscussionsController_Popular_Create ( $Sender ) |
public DiscussionsController_Render_Before ( $Sender ) |
public OnDisable ( ) |
public PostController_AfterCommentMeta_Handler ( $Sender ) |
public PostController_Render_Before ( $Sender ) |
public ProfileController_Render_Before ( $Sender ) |
public SettingsController_ToggleVoting_Create ( $Sender ) |
public SettingsController_Voting_Create ( $Sender ) |
public Setup ( ) |