php - how to detect model belongs to which plugin in cakephp? -


How to detect in App Module, the model has been loaded, which plug-in is it?

Edit:

When I look at model names or other details in AppModel, there is no difference between the model loaded from the main program and the one model which Loading inside. I need to know that there is some action related to the model plugin.

You can find your model being used by the model :: name property check It's set for you.

If it is not so, then what are you after, please edit your question. Your purpose is a bit unclear.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -