access to database from private function in cakephp
<p>I'm writing a private function in cakephp like this
but I see this error:
Using $this when not in object context
i think its because I havent access to model and find data from private function
help me please</p>

<pre><code>{

public function blah(){
    ...

}
public function call_remember_me(){
    $remembered = remember_me($user_id);

}
</code></pre>

<p>}</p>

<pre><code>function remember_me($user_id)
{
    $user = $this-&gt;User-&gt;findById($user_id);
....


}
</code></pre>