How to retrieve PHPDS core settings from my plugin?

Asked by jsherk on 2010-12-15

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:
2010-12-17
Last query:
2010-12-17
Last reply:
2010-12-17
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');

jsherk (jeff-forerunnertv) said : #2

Ok, I see!

Thanks