I was following tutorial of the phalcon framework and came up with a volt engine and its view page. I was wondering how the content() function work in volt view pages? and I'm also confused with the connection between the pages content? The structure of the code is as follows: - views/index.volt - views/index/index.volt - views/layout/main.volt
The views/index.volt page inside the views is the first page to load at the beginning but how are they interconnected with the pages index/index.volt and layout/main.volt? I've followed the tutorial from the official site of phalcon. http://phalcon-php-framework-documentation.readthedocs.org/en/0.7.0/reference/tutorial-invo.html