Plugin Environment Variable $this->moduleId

Summary

The id of the currently running Module, from the modules table.

Where You Can Use It

Can be used in methods called by plugins. From Zenario 7.0.0 onwards.

You can also access this variables from your JavaScript code using syntax of the form:

module_class_name.moduleId

where module_class_name is your Module's class name.

Description

It may be helpful to know the current Module id for debugging purposes. However this variable should not be used in your logic.