[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/plugins/config/core/Setting/ -> SettingArray.php (summary)

(no description)

File Size: 105 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SettingArray:: (6 methods):
  fromString()
  fromArray()
  update()
  escape()
  out()
  html()


Class: SettingArray  - X-Ref

Class setting_array

fromString($string)   X-Ref
Create an array from a string

return: array
param: string $string

fromArray($array)   X-Ref
Create a string from an array

return: string
param: array $array

update($input)   X-Ref
update setting with user provided value $input
if value fails error check, save it

return: bool true if changed, false otherwise (incl. on error)
param: string $input

escape($string)   X-Ref
Escaping

return: string
param: string $string

out($var, $fmt = 'php')   X-Ref
No description

html(\admin_plugin_config $plugin, $echo = false)   X-Ref
No description