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
A
 addClassName, DLSupport
 AddCustomField, DLCustomField
 addErrorLog, DLSupport
 addEvents, DLSupportJS.Tab
 AddField, DLForm
 AddPage, DLCleanAdmin
 addParameter, DLSupport.Form
 addTab, DLSupportJS.Tab
 AddTab, DLTab
 AESDecryptCtr, DLEncryption_Three
 AESEncryptCtr, DLEncryption_Three
 AlertError, DLSupportJS.CleanAdmin
 AutoExecute, DLSupport
B
 BuildGroupByClause, DLDatabase
 BuildJoinOnClause, DLDatabase
 BuildOrderByClause, DLDatabase
 BuildSelectClause, DLDatabase
 BuildTableClause, DLDatabase
 BuildWhereClause, DLDatabase
C
 Captcha, DLSupport
 CaptchaRemove, DLSupport
 CaptchaValidate, DLSupport
 checboxSelectAllToggle, DLSupport
 childElements, DLSupport
 Cipher, DLEncryption_Three
 CleanExit, DLSupport
 cloneArray, DLSupport
 combineArray, DLSupport
 CompareVersions, DLSupport
 ConvertBytes, DLSupport
 CreateParameters, DLSupport
 CreateTable, DLDatabase
 curry, DLSupport
D
 Decrypt
 defaultValues, DLSupport
 delayFunction, DLSupport
 DeleteData, DLDatabase
 disableSubmitFields, DLSupport.Form
 DropTable, DLDatabase
E
 enableSubmitFields, DLSupport.Form
 Encrypt
 Execute, DLDatabase
 ExecuteCommand, DLSupport
F
 Factory, DLCustomField
 fieldCount, DLSupport.Form
public function __construct()
Create a new clean admin site.
private function __construct($host,
$username,
$password,
$database)
Create a new instance of DLDatabase.
protected function __construct()
Create a new instance of DLEncryption.
public function __construct()
Create a new instance of DLForm.
public function __construct()
Create a new instance of DLSupport.
public function __construct($tab_wrapper,
$content_wrapper)
Create a new instance of DLTab.
addClassName: function(obj,
class_name)
Add the given class name ot the given DOM element.
public function AddCustomField($name,  
$type,  
$required,  
$id =  NULL,
$options =  array())
Add a custom field into the database.
addErrorLog: function(method,
parameters,
message)
Add a message to the error log.
addEvents: function(tab)
Add events to the given tab.
public function AddField($name,  
$type,  
$attributes =  array(),
$options =  array())
Add a form field.
public function AddPage($url,
$title)
Add a new page to the clean admin site.
addParameter: function(parameters,
element,
is_array)
Add the given element into the given parameters object based on some pre-set rules.
addTab: function(id,
name,
data)
Add in a new tab with the given ID.
public function AddTab($id,  
$name,  
$data,  
$options =  array())
Add a new tab to the list of tabs.
private function AESDecryptCtr($ciphertext,
$password,
$nBits)
Decrypt a text encrypted by AES in counter mode of operation.
private function AESEncryptCtr($plaintext,
$password,
$nBits)
Encrypt a text using AES encryption in Counter mode of operation ~ see http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
AlertError: function(type)
Alert an error message.
public static function AutoExecute($table,  
$parameters,  
$type,  
$where =  '')
Create the necessary SQL query and execute the command.
public static function BuildGroupByClause($data)
Build the GROUP BY clause.
public static function BuildJoinOnClause($data,  
$join =  'AND')
Build the JOIN clause.
public static function BuildOrderByClause($data)
Build the ORDER BY clause from an array.
public static function BuildSelectClause($data)
Build the SELECT clause from an array.
public static function BuildTableClause($tables)
Build the table clause.
public static function BuildWhereClause($data,  
$join =  'AND')
Build the WHERE clause from an array.
public static function Captcha($hours =  2)
Generate a new captcha image.
public static function CaptchaRemove($hours)
Remove images created for captcha purposes that is older than the given number of hours.
public static function CaptchaValidate($hours =  2)
See if the user has entered the correct value for the captcha generated by the method Captcha.
Check or uncheck all input checkboxes with the same class name as the given target based on the current status of the given element.
childElements: function(parent)
Retrieves an array of all direct child DOM elements of the given element.
private function Cipher($input,
$w)
Encrypt ‘input’ with Rijndael algorithm.
public static function CleanExit($message)
Clear all the currently opened output buffer then terminate execution with the given message.
cloneArray: function(data)
Create a copy of the given array.
combineArray: function(keys,
values)
Create an associative array (object) by using the first given array as the keys and the second given array as the value.
public static function CompareVersions($module,
$version,
&$validate_failed)
See if the installed version of the given module is less than the given version.
public static function ConvertBytes($bytes,
$type)
Convert the given bytes to the specified type.
public static function CreateParameters($structures,
$data)
Create the appropriate parameters array to be send to the function call_user_func_array.
public function CreateTable($table,  
$columns,  
$options =  array())
Create a new table in the database.
curry: function(func,
scope)
Currify the given function.
abstract public function Decrypt($key,
$data)
Decrypt the given data using the given key.
public function Decrypt($key,
$data)
Decrypt the given data using the given key.
public function Decrypt($key,
$data)
Decrypt the given data using the given key.
public function Decrypt($key,
$data)
Decrypt the given data using the given key.
public static function Decrypt($key,
$data)
Decrypt the given data using the given key.
defaultValues: function(source,
base)
Using the given base values object, copy values from the source object if they have the same property name.
delayFunction: function(func,
delay)
Delay the execution of the given function by the given number of seconds.
public function DeleteData($table,  
$where =  '',
$options =  array())
Delete data from the database.
disableSubmitFields: function(form)
Disable all of the submit fields of the given form.
public function DropTable($table)
Drop the given table from the database.
enableSubmitFields: function(form)
Enable all of the submit fields for the given form.
abstract public function Encrypt($key,
$data)
Encrypt the given data using the given key.
public function Encrypt($key,
$data)
Encrypt the given data using the given key.
public function Encrypt($key,
$data)
Encrypt the given data using the given key.
public function Encrypt($key,
$data)
Encrypt the given data using the given key.
public static function Encrypt($key,  
$data,  
$algorithm =  FALSE)
Encrypt the given data using the given key.
public function Execute()
Execute all of the currently stored SQLs.
public static function ExecuteCommand($dir,
$commands)
Execute the given list of commands.
public static function Factory($subclass)
Get an instance of a sub class of this class.
fieldCount: function(form)
Retrieve an object with its property names being all the named fields of the given form and its value being how many fields have that name.