SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: What's this mean ->
-
Oct 5, 2007, 01:57 #1
- Join Date
- May 2006
- Location
- Holland
- Posts
- 135
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What's this mean ->
I understand basic PHP and am in a rush to modify a little bit of code for an existing shopping cart. The problem I'm facing is that I don't know what this means ->
I've tried searching but obviously no luck and I don't know what it's referred to as. Here's an example of a line of code I'm looking at.
$order->storeTrans($transData);
What does it mean ??
-
Oct 5, 2007, 01:59 #2
- Join Date
- May 2006
- Location
- Lancaster University, UK
- Posts
- 7,062
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
ah - that's OOP PHP.
If you're only a beginner it's way out of your depth, however if you're more experienced you may want to look at:
http://uk3.php.net/oop5
It's a completely different and advanced area of PHP.Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
-
Oct 5, 2007, 02:00 #3
-
Oct 5, 2007, 02:03 #4
- Join Date
- May 2006
- Location
- Lancaster University, UK
- Posts
- 7,062
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
But as to the function:
PHP Code:$order->storeTrans($transData);
PHP Code:$order = new order;
PHP Code:Class order{
Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
-
Oct 5, 2007, 02:21 #5
- Join Date
- May 2006
- Location
- Holland
- Posts
- 135
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Aaaah so that's what it is !! Thanks to both of you for the link to the relevant PHP chapter. I'm familiar with OOP so that's really helped
Bookmarks