How get stdClass object from multiple modules by module ID's - Joomla! Forum - community, help and support
hi
i have list of module id's
i want query database , in return array of stdclass objects, based on module id's.
when @ jmodulehelper see there 2 methods close usable:
getmodule
and
getmodules
but none of these accept module id's
now why want this?
i want develop module can specify comma separated list of module id's
then specify how modules should rotated, is, how module should change 1 of other module id's specified.
then module should display 1 of modules comma separated list...
the built in rendermodule method, if can used.
i see getmodule:
returns stdclass object containing information module requested. given module returned if meets following criteria:
- enabled;
- assigned current menu item or assigned menu items;
- user meets access level requirements.
the thing require returned modules:
- match against module id's in list
- enabled;
- user meets access level requirements.
how query database can array of std class objects in return, based on module id's?
any suggestions?
i have list of module id's
i want query database , in return array of stdclass objects, based on module id's.
when @ jmodulehelper see there 2 methods close usable:
getmodule
and
getmodules
but none of these accept module id's
now why want this?
i want develop module can specify comma separated list of module id's
then specify how modules should rotated, is, how module should change 1 of other module id's specified.
then module should display 1 of modules comma separated list...
the built in rendermodule method, if can used.
i see getmodule:
returns stdclass object containing information module requested. given module returned if meets following criteria:
- enabled;
- assigned current menu item or assigned menu items;
- user meets access level requirements.
the thing require returned modules:
- match against module id's in list
- enabled;
- user meets access level requirements.
how query database can array of std class objects in return, based on module id's?
any suggestions?
Comments
Post a Comment