Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to access module component?



How to access module component?..

Answer / 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

More Yii PHP Framework Interview Questions

What is cmodel class in yii 2.0 framework?

1 Answers  


How to get current controller name?

1 Answers  


How can you include a javascript menu throught the site? Give steps

1 Answers  


What about the naming convention in yii?

1 Answers  


Explain naming convention in yii 2 framework?

1 Answers  


How we can remove index.php from url in yii?

1 Answers  


What are the directory structure of yii?

1 Answers  


How to get current action name?

1 Answers  


What is the first function that gets loaded from a controller?

1 Answers  


List some features yii 2 framework?

1 Answers  


Which orm does yii2 supports?

1 Answers  


How can we set a flash message in yii2?

1 Answers  


Categories