title: how to call a view file from controller(cakePHP)
body: <p>I am learning cakephp from few days ... so please help a bit thanks . </p>
  
  <p>I made a controller --</p>
  
  <pre><code>class PostController extends AppController {
  var $name='Posts';
  
  function index(){
      $posts=$this-&gt;Post-&gt;find('all');
  
      $this-&gt;set(compact('posts'));
  
  }
  </code></pre>
  
  <p>in view had post folder with index.ctp file . I want to ask from where it gets "CakePHP: the rapid development php framework" and from where it takes content . I send this data from controller so it  prints only <code>var_dump($posts);</code> ... Thanks in advance.</p>