Login Register


Possibly the weirdest bug fix. filter_list
Author
Message
RE: Possibly the weirdest bug fix. #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]
BACK UNDER YOUR BEDS
TRY TO GET A GOOD NIGHT'S SLEEP NOW


Reply





Messages In This Thread
Possibly the weirdest bug fix. - by Lain - 06-03-2014, 09:21 AM
RE: Possibly the weirdest bug fix. - by Equinox - 06-03-2014, 09:26 AM
RE: Possibly the weirdest bug fix. - by cr33pyguy - 06-03-2014, 09:39 AM
RE: Possibly the weirdest bug fix. - by Lain - 06-03-2014, 09:57 AM
RE: Possibly the weirdest bug fix. - by cr33pyguy - 06-03-2014, 10:34 AM
RE: Possibly the weirdest bug fix. - by Lain - 06-03-2014, 12:25 PM
RE: Possibly the weirdest bug fix. - by cr33pyguy - 06-04-2014, 08:54 AM
RE: Possibly the weirdest bug fix. - by Lain - 06-04-2014, 08:59 AM
RE: Possibly the weirdest bug fix. - by Eclipse - 06-03-2014, 06:24 PM
RE: Possibly the weirdest bug fix. - by Christ - 06-03-2014, 07:00 PM
RE: Possibly the weirdest bug fix. - by Satan - 06-04-2014, 11:41 PM



Users browsing this thread: 1 Guest(s)