Replies: 1 comment 4 replies
-
Okay so I can add an area that will allow you to pass values to the class during initializing like so: Mod[[[Module]]]Data = new Mod[[[Module]]]Data($params);
$values = Mod[[[Module]]]Data->getValues(); So you can via the constructor populate the data class. The data class is buildup of all the custom gets you add, so passing it as a param to the constructor will make it available to any of the methods. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi.
how to access $params variable in data.php which is accessible in mod_modulename.php of module?
this capability need for use module params (which set in admin page of module in joomla) as input argument for daynamicGet function witch is set in the Component menu>component builder>joomla module>code tab> Custom Gets
this idea come from:
#654 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions