RE: Possibly the weirdest bug fix. 06-04-2014, 08:54 AM
#9
(06-03-2014, 12:25 PM)Koala Wrote: Well, $this is referring to the parent class, -> is used for referencing variables and functions within the class.
For example, in the code above, I have the variable/array called $cart, I'm giving the variable $potato the value stored in the $cart variable.
PHP Code:$potato = $this->cart;
For some better explanations, I suggest checking out their documentation.
Okay, so it's practically saying $potato is it's value in the array $cart?
![[Image: TeusoI9.png]](http://i.imgur.com/TeusoI9.png)
BACK UNDER YOUR BEDS
TRY TO GET A GOOD NIGHT'S SLEEP NOW





![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)