Skip to Content Skip to Menu

Plugin help with passing parameters

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
17 years 10 months ago #27034 by p9939068
Plugin help with passing parameters was created by p9939068
Hi
Is there a way to pass plugin's param outside of the plugin itself? Let me explain:
Right now, the way to get values of plugin params is through the $this->params function. However, I wish to get the values of these from outside of CB, say a module. Is there a way to do this? Where exactly are the values stored?

Hopefully Nant and the others can help me out on this :D

Regards, Mike


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
17 years 10 months ago #27036 by nant
Replied by nant on topic Re:Plugin help with passing parameters
p9939068 wrote:

Hi
Is there a way to pass plugin's param outside of the plugin itself? Let me explain:
Right now, the way to get values of plugin params is through the $this->params function. However, I wish to get the values of these from outside of CB, say a module. Is there a way to do this? Where exactly are the values stored?

Hopefully Nant and the others can help me out on this :D

Regards, Mike


The are stored in the comprofiler_tabs table.
You need to use mysql queries and some php parsing.

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
17 years 10 months ago #27056 by p9939068
Replied by p9939068 on topic Re:Plugin help with passing parameters
Thanks a lot! :)
-edit- actually i found them in jos_comprofiler_plugin

Post edited by: p9939068, at: 2006/12/15 17:47


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
17 years 10 months ago #27059 by nant
Replied by nant on topic Re:Plugin help with passing parameters
p9939068 wrote:

Thanks a lot! :)
-edit- actually i found them in jos_comprofiler_plugin

Post edited by: p9939068, at: 2006/12/15 17:47


plugin parameters are stored in comprofiler_plugin.
tab parameters in comprofiler_tab.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum