[ 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

param: string $string
return: array

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

param: array $array
return: string

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

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

escape($string)   X-Ref
Escaping

param: string $string
return: string

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

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