Answer Posted / Rahul Sharma
To access module components in Yii 2.0, you can use the $this->module property in a controller that belongs to the module. For example: $this->module->someComponentId.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers