OXID Community Forum

> International Forums > Developers > Get info from metadata
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: Get info from metadata


Reply
 
Thread Tools Search this Thread Display Modes
#Top   #1  
Old 08-02-2017, 07:23 AM
bebzon_hc bebzon_hc is offline
Junior Member
Join Date: Dec 2016
Location: Poland
Posts: 13
bebzon_hc is on a distinguished road
Default Get info from metadata

Hi!
I have question... is any option to get for example module description from metadata in module controller?

There are some method to get all modules list, etc but then i need module id. I want to get an id and description of this module from which the request for this data is made (ex. from the controller).

Regards

Last edited by bebzon_hc; 08-02-2017 at 07:28 AM.
Reply With Quote
#Top   #2  
Old 08-02-2017, 07:46 AM
vanilla thunder's Avatar
vanilla thunder vanilla thunder is online now
Marco's Sidekick
Join Date: Nov 2010
Posts: 6,358
vanilla thunder is on a distinguished road
Default Re: Get info from metadata

Short answer: no.

Long answer:
There is no oxid function for that. And I don't think this could be done with 100% accuracy.
You might get some reliable information for custom module classes that were added to oxid by modules.
Extended classes, on the other hand, are sometimes extended by multiple modules, that add own code but also call parent functions. Maybe utilizing information from stacktrace and matching file name or path to modules could do this, but I have never done something like that.
Reply With Quote
#Top   #3  
Old 08-02-2017, 07:57 AM
bebzon_hc bebzon_hc is offline
Junior Member
Join Date: Dec 2016
Location: Poland
Posts: 13
bebzon_hc is on a distinguished road
Default Re: Get info from metadata

thanks for reply
Reply With Quote
Reply

Bookmarks

Tags
info, metadata

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
metadata.php fragen gajel Module 13 11-22-2014 07:48 AM
extend in metadata dfu Newbies 4 10-24-2014 02:10 PM
Metadata import sql dfu Newbies 4 10-01-2014 02:07 PM
metadata.php validieren a.bockstiegel Entwickler 5 07-26-2013 12:56 PM
'extend' in metadata.php VeganWonderland Module 2 02-11-2013 12:58 PM

All times are GMT +1. The time now is 02:21 PM.