How do I reference an object instance from a class initialization?
<p>Here is a small example. I want to reuse the mongodb object in many other methods in this class, without initializing it within each function.</p>

<p>Or is there a better approach in general?</p>

<pre><code> &lt;?php
class Model_Users extends Model 
{

    public static function _init()
    {
        $mongodb = \Mongo_Db::instance('content');
    }


    public static function get_user($name)
    {

        $user = $mongodb-&gt;get('users', array( 'name' =&gt; $name ));

        return  $user; 
    }


}
</code></pre>
