How to call settings in advance modules?
Hi,
How can i call the settings i made from the advance module settings to the module controllers.
i.e fuel/modules/inquiry/config/inquiry.php
$config['inquiry']['settings']['email_address'] = array();
fuel/modules/inquiry/controllers/inquiry.php
echo $this->inquiry->settings('email_addres');
Thanks! God bless.
Comments
answer:
echo $this->fuel->settings->get('inquiry', 'email_address');
Thanks for this wonderful cms.