class config_variable extends config_item

\phpbb\search\backend\sphinx\config_variable Represents a single variable inside the sphinx configuration

Properties

protected string $name from  config_item

Methods

string
get_name()

Getter for the item's name

string
to_string()

Return string representation of config item

__construct(string $name, string $value, string $comment = '')

Constructs a new variable object

void
set_value(string $value)

Allows changing the variable's value

Details

in config_item at line 30
string get_name()

Getter for the item's name

Return Value

string

The item object's name

at line 53
string to_string()

Return string representation of config item

Return Value

string

String representation of config item

at line 33
__construct(string $name, string $value, string $comment = '')

Constructs a new variable object

Parameters

string $name

Name of the variable

string $value

Value of the variable

string $comment

Optional comment after the variable in the config file

at line 45
void set_value(string $value)

Allows changing the variable's value

Parameters

string $value

New value for this variable

Return Value

void