How to call settings in advance modules?

edited April 2016 in 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

  • edited 7:45AM
    Hi, i found the solution on the documentation,
    answer:
    echo $this->fuel->settings->get('inquiry', 'email_address');

    Thanks for this wonderful cms. :)
Sign In or Register to comment.