Talk:Repository plugins: Difference between revisions
From MoodleDocs
cannotinitplugin error |
No edit summary |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
type_config_form and instance_config_form are static. | |||
--[[User:Camilo Rivera|Camilo Rivera]] ([[User talk:Camilo Rivera|talk]]) 01: | "Both global and instance settings can be retrieved, from within the plugin, via $this->get_option('settingname')" seems to be wrong. global settings can be retrieved with "get_config('pluginname', 'settingname');" or have I misunderstood something? | ||
--[[User:Johannes Burk|Johannes Burk]] ([[User talk:Johannes Burk|talk]]) 01:17, 31 January 2015 (AWST) | |||
---- | |||
It might be good if this guide would mention that you need to add certain params (path and page) to the get_listing() function to avoid warnings.--[[User:Camilo Rivera|Camilo Rivera]] ([[User talk:Camilo Rivera|talk]]) 01:37, 7 June 2014 (WST) | |||
Latest revision as of 17:17, 30 January 2015
type_config_form and instance_config_form are static. "Both global and instance settings can be retrieved, from within the plugin, via $this->get_option('settingname')" seems to be wrong. global settings can be retrieved with "get_config('pluginname', 'settingname');" or have I misunderstood something? --Johannes Burk (talk) 01:17, 31 January 2015 (AWST)
It might be good if this guide would mention that you need to add certain params (path and page) to the get_listing() function to avoid warnings.--Camilo Rivera (talk) 01:37, 7 June 2014 (WST)