title: How to call a method of a class?
body: <p>I got 2x public functions in a class that must call 1 private function with different parameters also in the same class... for some reason it tell me that it can't find the function...</p>
  
  <p>example:</p>
  
  <pre><code>class Foo {    
  
  private function Do(...)     
  {
         ....
         return $whatever;
  }
  
  public function One(...)    
  {
    return Do(...);
  }
  
  public function Two(...)    
  { 
         return Do(...);
  } 
  </code></pre>
  
  <p>}</p>
  
  <p>am getting error:</p>
  
  <p>Fatal error: Call to undefined function do() in ...</p>