[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

SettingArray:: (4 methods):
  fromString()
  fromArray()
  update()
  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)

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