SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function computeCost() {
  2.   global $DB_LINK;
  3.   $this->loadIngred();
  4.  
  5.   if ($this->liquid == $DB_LINK->true)
  6.     $liquid = true;
  7.   $amount = Units::convertTo($this->amount, $this->unitMapping, $this->unit,
  8.     $this->liquid);
  9.   return ($this->amount * $this->cost);
  10. }
  11.      
  12. function computeCost($db_link) {
  13.      
  14. $returnValue = computeCost($DB_LINK);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top