Constructor
mosParameters
mosParameters
(string $text, [string $path = ''], [mixed $type = 'component'])
-
string
$text: The raw parms text
-
string
$path: Path to the xml setup file
Sets a default value if not alreay assigned
string
def
(string $key, [string $value = ''])
-
string
$key: The name of the param
-
string
$value: The value of the parameter
string
get
(string $key, [mixed $default = ''])
-
string
$key: The name of the param
-
mixed
$default: The default value if not found
Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function
object
parse
(mixed $txt, [boolean $process_sections = false])
-
mixed
$txt: The ini string or array of lines
-
boolean
$process_sections: add an associative index for each section [in brackets]
string
render
([string $name = 'params'])
-
string
$name: The name of the control, or the default text area if a setup file is not found
array
renderParam
(object A &$param, [string $control_name = 'params'])
-
object A
&$param: param tag node
-
string
$control_name: The control name
string
set
(string $key, [string $value = ''])
-
string
$key: The name of the param
-
string
$value: The value of the parameter
special handling for textarea param
void
textareaHandling
(mixed &$txt)
string
_form_imagelist
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_list
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_mos_category
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_mos_menu
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_mos_section
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_radio
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_spacer
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_text
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name
string
_form_textarea
(string $name, string $value, object The &$node, string $control_name)
-
string
$name: The name of the form element
-
string
$value: The value of the element
-
object The
&$node: xml element for the parameter
-
string
$control_name: The control name