how to access a variable and called a class method at the same time
<p>Hmmm,not sure how to do this</p>

<p>i have a public variable</p>

<pre><code>public $meta;
</code></pre>

<p>I'm calling the method in my application like this</p>

<pre><code>$auth-&gt;meta_data('rental_access');
</code></pre>

<p>Now I'm curious is to how I can get the information from it. How can I access the $meta variable information based on the switch logic from the method?</p>

<p>In my application I want to use the information from the $meta variable to make some more logic statements hmmm something like</p>

<pre><code>if ($auth-&gt;meta-data('rental_access') == 1) { //or maybe have it look for a true/false thing
    //do this
} else {
    // then do this
}
</code></pre>
