How can i see all view file names which was rendered for current page ?
in debug console there is no any info about which view files were loaded during page generation.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no native solution for this but it can be accomplished in a couple ways.
I think the easiest is to override the CViewRenderer class and keep a list of files that renderFile is called with. Overriding the class is a matter of adding
In the components part in your config.
It could look like this in its simplest form: