class Descriptions (View source)

Class to get name or description for a configuration paths

Methods

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

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

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

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

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