How to retrieve PHPDS core settings from my plugin?

Asked by jsherk

I cannot figure out how to read the phpds core settings from within my plugin.

I tried this (gives an error):
$this->db->invokeQuery('PHPDS_readCoreSettingsQuery');

And this (returns only the settings from my plugin):
$this->db->getSettings('PHPDevShell');

And neither work!

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Solved by:
jsherk
Solved:
Last query:
Last reply:
Revision history for this message
TitanKing (titan-phpdevshell) said :
#1

$this->configuration is an array of all the the settings you will mostly use.

To read specific settings for specific plugins use;
$settings = $this->db->getSettings(array('setting1', 'setting2'), 'PluginName');

Revision history for this message
jsherk (jeff-forerunnertv) said :
#2

Ok, I see!

Thanks