Alternative $this->config>set_item($item, $value) |
All the config files are classes where all the properties are public. That means that once you create an instance of a config you can modify the properties however you see fit.
PHP Code: <?php namespace App\Controllers; You can dynamically add properties to the class PHP Code: $config = new Config\App(); |
Messages In This Thread |
Alternative $this->config>set_item($item, $value) - by simonickalexs - 12-01-2019, 10:20 AM
RE: Alternative $this->config>set_item($item, $value) - by dave friend - 12-01-2019, 06:38 PM
RE: Alternative $this->config>set_item($item, $value) - by simonickalexs - 12-01-2019, 09:16 PM
RE: Alternative $this->config>set_item($item, $value) - by freddy.cruze - 02-02-2021, 09:07 AM
RE: Alternative $this->config>set_item($item, $value) - by paulbalandan - 02-02-2021, 09:56 AM
|