class WpvConfigGenerator

 Methods

Initialize the generator

__construct(string $name, array $options) 

Parameters

$name

string

$options

array

definitions for the config page

Auto fill <select> options

get_select_target_config(string $type) : array

Parameters

$type

string

autofill type

Returns

arrayoptions list

Auto fill <select> options

target_config(string $type) : array
Static

Parameters

$type

string

autofill type

Returns

arrayoptions list

Single options row template

tpl(string $template, array $value) 

Parameters

$template

string

template name

$value

array

options row config

Renders the option page

render() 

Save the current page config

save_config() 

 Properties

 

$name : string
 

$options : array