Creates drop-down filter The filter is applied to the $table
static
void
createDropdownFilter
(
miView $view,
miTable $table,
string $field,
array $values,
string $condition)
-
miView
$view
-
miTable
$table: the table to apply the filter to
-
string
$field: the field name
-
array
$values: associative array with the values of the filter
-
string
$condition: the filter condition
Returns HTML code for a dropdown menu ("select" element) from the specified array
static
void
&getConstDropdown
(string $name, int $selected, array $optionsArray)
-
string
$name: name of the select element
-
int
$selected: which key is selected
-
array
$optionsArray: array whit the dropdown menu elements values
Makes the hash of arrays $rows suitable for the miTemplateParserSectionInfo values
static
array
templetizeAndEscapeRows
(array $rows)
-
array
$rows: transposed rows read from the database
Makes the hash of arrays $rows suitable for the miTemplateParserSectionInfo values
static
array
templetizeRows
(array $rows)
-
array
$rows: transposed rows read from the database
Transposes the $rows array from array of hashes into a hash of arrays. All values will have the &, ", < and > escaped, except the values for keys starting with HTML_
static
array
transposeRows
(array $rows)
-
array
$rows: readed rows from the database