Creating a simple module/Developing a Basic Module: Difference between revisions
From Joomla! Documentation
→$params: new section |
→$params: Reply |
||
| Line 2: | Line 2: | ||
This document explains calling a helper class passing $params for future use. The problem is, it doesn't mention where that $params is coming from. And what other data is available? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 08:41, 6 May 2014 (CDT) | This document explains calling a helper class passing $params for future use. The problem is, it doesn't mention where that $params is coming from. And what other data is available? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 08:41, 6 May 2014 (CDT) | ||
:So there probably should be a sentence saying $params is generated by us automatically. As this is a "simple" module tutorial - I really want to avoid going into the fact this is automatically generated by the JModuleHelper. I'd rather just say the thing with the params is created magically for you to manipulate. --[[User:Wilsonge|Wilsonge]] ([[User talk:Wilsonge|talk]]) 18:43, 6 May 2014 (CDT) | |||
Revision as of 23:43, 6 May 2014
$params
This document explains calling a helper class passing $params for future use. The problem is, it doesn't mention where that $params is coming from. And what other data is available? Sovainfo (talk) 08:41, 6 May 2014 (CDT)
- So there probably should be a sentence saying $params is generated by us automatically. As this is a "simple" module tutorial - I really want to avoid going into the fact this is automatically generated by the JModuleHelper. I'd rather just say the thing with the params is created magically for you to manipulate. --Wilsonge (talk) 18:43, 6 May 2014 (CDT)