Writes Back Button
void
BackButton
( &$params, [ $hide_js = NULL])
Cleans text of all formating and scripting code
void
cleanText
( &$text)
Writes Close Button
void
CloseButton
( &$params, [ $hide_js = NULL])
simple Javascript Cloaking
email cloacking by default replaces an email with a mailto link with email cloacked
void
emailCloaking
( $mail, [ $mailto = 1], [ $text = ''], [ $email = 1])
-
$mail
-
$mailto
-
$text
-
$email
void
encoding_converter
( $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
( $value, [ $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
( &$row, &$params, $hide_js, $link, [ $status = NULL])
-
&$row
-
&$params
-
$hide_js
-
$link
-
$status
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
( $base_href, $field, [ $state = 'none'])
void
writableCell
( $folder)
Writes a yes/no radio list
string
yesnoRadioList
(string $tag_name, string $tag_attribs, mixed $selected, [ $yes = false], [ $no = false])
-
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
-
$yes
-
$no
Writes a yes/no select list
string
yesnoSelectList
(string $tag_name, string $tag_attribs, mixed $selected, [ $yes = false], [ $no = false])
-
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
-
$yes
-
$no