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