| $#! | |
| __construct, DLComments | |
| C | |
| copyData, [JavaScript]DLComments | |
| D | |
| Degrade, DLComments | |
| G | |
| GetCommentsGroups, DLComments | |
| GetCommentsListing, DLComments | |
| GetIcon, DLComments | |
| GetIconFrontend, DLComments | |
| GetSettingsHTML, DLComments | |
| GetStoredTemplates, DLComments | |
| I | |
| IncludeAdmin, DLComments | |
| IncludeFrontend, DLComments | |
| R | |
| restoreData, [JavaScript]DLComments | |
| S | |
| serverResponse, [JavaScript]DLComments | |
| ShowFilterArea, DLComments | |
| ShowFrontendCSS, DLComments | |
| showHide, [JavaScript]DLComments | |
| ShowListingArea, DLComments | |
| ShowSettingsArea, DLComments | |
| ShowSubmissionForm, DLComments | |
| ShowTemplateArea, DLComments | |
| ShowUserComments, DLComments | |
| submitForm, [JavaScript]DLComments |
Create a new instance of DLComments.
public function __construct()
Copy the inner HTML of the original element to a textarea (creating it if it doesn’t already exist.
copyData: function( field, original, type, name, id )
Undo any upgrades that has been made.
protected function Degrade( $start, $counter )
Retrieve all the comment groups currently in the database.
protected function GetCommentsGroups( $htmlentities = FALSE )
Retrieve various information regarding the listing of the comments.
protected function GetCommentsListing( $id, $returnid, $params )
A wrapper function for calling “DLSupport::GetIcon” since the majority of the icon retrieval will be on the same size.
protected function GetIcon( $icon, $alt = '', $size = 32 )
Retrieve the icon for the frontend.
protected function GetIconFrontend( $icon, $alt )
Retrieve the HTML for the settings page.
protected function GetSettingsHTML( $id, $returnin, $params )
Retrieve HTML for the listing of the templates.
protected function GetStoredTemplates( $id, $returnid, $params, $type )
Retrieve the HTML for including required JavaScript and CSS on an admin page.
protected function IncludeAdmin()
Retrieve the HTML for including required JavaScript and CSS on a regular page.
protected function IncludeFrontend()
Copy the value of the field back to the original element while keeping the field in the document.
restoreData: function( original, field_span, field )
Process the server response.
serverResponse: function( form, message_area, html_area, transport )
Retrieve the HTML for the filter area on the backend.
protected function ShowFilterArea( $id, $returnid, $params, $type )
Retrieve the HTML for the frontend CSS inclusion.
protected function ShowFrontendCSS( $css = NULL )
Toggle the display of the given data and update the given link to reflect the new action.
showHide: function( link, data )
Retrieve the HTML for the listing area on the backend.
protected function ShowListingArea( $id, $returnid, $params, $type )
Retrieve the HTML for the settings area on the backend.
protected function ShowSettingsArea( $id, $returnid, $params )
Retrieve the HTML for the submission form on the frontend.
protected function ShowSubmissionForm( $id, $returnid, $params, $group, $template = NULL )
Retrieve the HTML for the template area.
protected function ShowTemplateArea( $id, $returnid, $params, $type )
Retrieve the HTML for the user comments.
protected function ShowUserComments( $group, $template = NULL )
Submit a form to the server.
submitForm: function( form, type )