config_text
class config_text implements tool_interface
Migration config_text tool
Properties
protected db_text | $config_text |
Methods
string
get_name()
Retrieve a short name used for commands in migrations.
null
add(string $config_name, mixed $config_value)
Add a config_text setting.
null
update(string $config_name, mixed $config_value)
Update an existing config_text setting.
null
remove(string $config_name)
Remove an existing config_text setting.
null
reverse()
Reverse an original install action
Details
at line 29
__construct(db_text $config_text)
Constructor
at line 37
string
get_name()
Retrieve a short name used for commands in migrations.
at line 50
null
add(string $config_name, mixed $config_value)
Add a config_text setting.
at line 69
null
update(string $config_name, mixed $config_value)
Update an existing config_text setting.
at line 86
null
remove(string $config_name)
Remove an existing config_text setting.
at line 99
null
reverse()
Reverse an original install action
First argument is the original call to the class (e.g. add, remove) After the first argument, send the original arguments to the function in the original call