Hi,

you could use the an instance of oxModuleList and its function 
getModulesFromDir(). And have a look at the output array for further details 
e.g. activation state). ;-)

http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.7.3.54408/classox_module_list.html#aa391f8819a748a8bed2b9457cfd2cbae

--Johannes


Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Friedemann 
Stoffregen
Gesendet: Mittwoch, 20. Februar 2013 12:09
An: [email protected]
Betreff: Re: [oxid-dev-general] List of active modules

Thank you,
i'll give it a try :)
Regards,
Friedemann
Am 20.02.2013 um 12:08 schrieb MB 
<[email protected]<mailto:[email protected]>>:



 Hello,

aModules returns an array of extended classes, not active module IDs see:  
oxConfig->getConfigParam("aModules");

for getting config params you can use getConfigParam() function or the SQL 
query from  this thread: http://forum.oxid-esales.com/showthread.php?t=9689



Regards
Marat



-----Ursprüngliche Nachricht-----
Von: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] Im Auftrag von Friedemann 
Stoffregen
Gesendet: Mittwoch, 20. Februar 2013 11:38
An: [email protected]<mailto:[email protected]>
Betreff: [oxid-dev-general] List of active modules


Hi,

is it possible to get a list / array of all activated modules? I would like to 
get the ID stored in the metadata.php file.

I already found the `aModules`-entry in the `oxconfig`-Table. But its value is 
crypted / not readable.


I would really appreciate a reply :)


regards,

Friedemann


_______________________________________________
dev-general mailing list
[email protected]<mailto:[email protected]>
http://dir.gmane.org/gmane.comp.php.oxid.general

_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to