config_section
class config_section extends config_item
\phpbb\search\backend\sphinx\config_section Represents a single section inside the sphinx configuration
Properties
protected string | $name | from config_item |
Methods
Turns this object into a string which can be written to a config file
Construct a new section
Adds a comment after the closing bracket in the textual representation
Get a variable object by its name
Deletes all variables with the given name
Create a new variable object and append it to the variables list of this section
Details
in
config_item at line 30
string
get_name()
Getter for the item's name
at line 114
string
to_string()
Turns this object into a string which can be written to a config file
at line 38
__construct(string $name, string $comment)
Construct a new section
at line 50
void
set_end_comment(string $end_comment)
Adds a comment after the closing bracket in the textual representation
at line 63
config_variable|null
get_variable_by_name(string $name)
Get a variable object by its name
at line 82
delete_variables_by_name(string $name)
Deletes all variables with the given name
at line 103
config_variable
create_variable(string $name, string $value)
Create a new variable object and append it to the variables list of this section