Writes Back Button
void
BackButton
(mixed &$params, [mixed $hide_js = NULL])
Cleans text of all formating and scripting code
void
cleanText
(mixed &$text)
Writes Close Button
void
CloseButton
(mixed &$params, [mixed $hide_js = NULL])
simple Javascript Cloaking
email cloacking by default replaces an email with a mailto link with email cloacked
void
emailCloaking
(mixed $mail, [mixed $mailto = 1], [mixed $text = ''])
void
encoding_converter
(mixed $text)
string
idBox
(int $rowNum, int $recId, [boolean $checkedOut = false], [string $name = 'cid'])
-
int
$rowNum: The row index
-
int
$recId: The record id
-
boolean
$checkedOut
-
string
$name: The name of the form element
Writes a select list of integers
string
integerSelectList
(int $start, int $end, int $inc, string $tag_name, string $tag_attribs, mixed $selected, [string $format = ""])
-
int
$start: The start integer
-
int
$end: The end integer
-
int
$inc: The increment
-
string
$tag_name: The value of the HTML name attribute
-
string
$tag_attribs: Additional HTML attributes for the <select> tag
-
mixed
$selected: The key that is selected
-
string
$format: The printf format to be applied to the number
void
makeOption
(mixed $value, [mixed $text = ''])
Writes a select list of month names based on Language settings
string
monthSelectList
(string $tag_name, string $tag_attribs, mixed $selected)
-
string
$tag_name: The value of the HTML name attribute
-
string
$tag_attribs: Additional HTML attributes for the <select> tag
-
mixed
$selected: The key that is selected
Writes Print icon
void
PrintIcon
(mixed &$row, mixed &$params, mixed $hide_js, mixed $link, [mixed $status = NULL])
Generates an HTML radio list
string
radioList
(array &$arr, string $tag_name, string $tag_attribs, [mixed $selected = null], [string $key = 'value'], [string $text = 'text'])
-
array
&$arr: An array of objects
-
string
$tag_name: The value of the HTML name attribute
-
string
$tag_attribs: Additional HTML attributes for the <select> tag
-
mixed
$selected: The key that is selected
-
string
$key: The name of the object variable for the option value
-
string
$text: The name of the object variable for the option text
Generates an HTML select list
string
selectList
(array &$arr, string $tag_name, string $tag_attribs, string $key, string $text, [mixed $selected = NULL])
-
array
&$arr: An array of objects
-
string
$tag_name: The value of the HTML name attribute
-
string
$tag_attribs: Additional HTML attributes for the <select> tag
-
string
$key: The name of the object variable for the option value
-
string
$text: The name of the object variable for the option text
-
mixed
$selected: The key that is selected
void
sortIcon
(mixed $base_href, mixed $field, [mixed $state = 'none'])
Generates an HTML select list from a tree based query list
string
treeSelectList
(array &$src_list, array $src_id, array $tgt_list, array $tag_name, string $tag_attribs, string $key, string $text, string $selected, mixed 8)
-
mixed
8: The key that is selected
-
array
&$src_list: Source array with id and parent fields
-
array
$src_id: The id of the current list item
-
array
$tgt_list: Target array. May be an empty array.
-
array
$tag_name: An array of objects
-
string
$tag_attribs: The value of the HTML name attribute
-
string
$key: Additional HTML attributes for the <select> tag
-
string
$text: The name of the object variable for the option value
-
string
$selected: The name of the object variable for the option text
void
writableCell
(mixed $folder)
Writes a yes/no radio list
string
yesnoRadioList
(string $tag_name, string $tag_attribs, mixed $selected, [mixed $yes = _CMN_YES], [mixed $no = _CMN_NO])
-
string
$tag_name: The value of the HTML name attribute
-
string
$tag_attribs: Additional HTML attributes for the <select> tag
-
mixed
$selected: The key that is selected
Writes a yes/no select list
string
yesnoSelectList
(string $tag_name, string $tag_attribs, mixed $selected, [mixed $yes = _CMN_YES], [mixed $no = _CMN_NO])
-
string
$tag_name: The value of the HTML name attribute
-
string
$tag_attribs: Additional HTML attributes for the <select> tag
-
mixed
$selected: The key that is selected