Passing values between PHP Functions
<p>Say I have the following function:</p>

<pre><code>public static function checkRunin($fieldPickup) {
    // CODE

    return self::getFare();
}
</code></pre>

<p>and I want to pass <code>$fieldPickup</code> to the <code>getFare()</code> function below:</p>

<pre><code>private static function getFare($int_terminate) {
    // CODE
}
</code></pre>

<p>but the <code>getFare()</code> already has a function passed to it via an AJAX request, so you can't pass as like <code>return self::getFare($fieldPickup);</code></p>

<p>How would you go about doing this?</p>
