title: Meaning of $this-> in CakePHP
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/151969/php-self-vs-this">PHP: self vs. $this</a>  </p>
  </blockquote>
  
  
  
  <p>What does <code>$this-&gt;</code> mean in CakePHP?</p>
  
  <p>Please answer this in two parts...
  What does <code>$this</code> refer to?
  What does <code>-&gt;</code> refer to?</p>
  
  <p>Can someone explain each part explicitly in terms of the statement $this->Post->find('all'); in the Post controller. Why do you need the ->Post part if it is in the Posts controller?</p>