title: call a getter method from PHP query
body: <p>How can I call getter method into a sql query like this:</p>
  
  <pre><code> $query = "SELECT * FROM table WHERE filed='$Object-&gt;getter()";
  </code></pre>
  
  <p>it is possible?</p>