SHARE
TWEET

Untitled

a guest Apr 18th, 2019 1,069 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    //Paypalcontrol
  2.         $paypal = new paypal();
  3.         $paypal->setVariable = $variable;
  4.  
  5.         // Paypal
  6.         protected $variable;
  7.         public function setVariable($variable){
  8.             $this->variable = $variable;
  9.             // Deze lijn is niet veprlicht
  10.             return $this;
  11.         }
  12.         public function getVariable(){
  13.             return $this->variable;
  14.         }
  15.        
  16.         // Nu kun je in paypal.php dus jou variable aanspreken met
  17.         $this->getVariable() of $this->variable;
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