dayshiers Posted April 15, 2015 Share Posted April 15, 2015 Hi, I am trying to create my own module but i am having difficulties reading data from the PS_Configuration table, i am able to write to the table from the module configuration page. I would like to read the api information submitted on the configuration page in a define statement ie define("API_KEY", "Some Key"); Can anyone provide any examples of how i can do this? Thanks Damien Link to comment Share on other sites More sharing options...
cristic Posted April 15, 2015 Share Posted April 15, 2015 Use Configuration::get static function: Configuration::get('Some Key'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now