class Descriptions

Base class for forms, loads default configuration options, checks allowed values etc.

Methods

static string
get(string $path, string $type = 'name')

Return Return name or description for a configuration path.

static string|null
getString(string $path, string $type = 'name')

Return name or description for a cleaned up configuration path.

Details

at line 30
static string get(string $path, string $type = 'name')

Return Return name or description for a configuration path.

Parameters

string $path Path of configuration
string $type Type of message, either 'name', 'cmt' or 'desc'

Return Value

string

at line 65
static string|null getString(string $path, string $type = 'name')

Return name or description for a cleaned up configuration path.

Parameters

string $path Path of configuration
string $type Type of message, either 'name', 'cmt' or 'desc'

Return Value

string|null Null if not found