Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-12-2005, 11:57 PM   PM User | #1
replicah
New Coder

 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
replicah is an unknown quantity at this point
Arrays and other functions

Hi,

I'm reasonably experienced with php.. but still dont understand the concept of

-> and =>

eg:
return $this->response;
or
$this->request_string .= $this->ValidRequestPair($key, $value);

Thanks!
Dan.
replicah is offline   Reply With Quote
Old 07-13-2005, 12:22 AM   PM User | #2
Nightfire
Senior Coder

 
Nightfire's Avatar
 
Join Date: Jun 2002
Posts: 4,266
Thanks: 6
Thanked 48 Times in 48 Posts
Nightfire is on a distinguished road
That's OOP

http://www.wildcharacters.com/tutorials/php_oop.html
__________________
Blue Panda
Website Design | 1 Pound Ads | 'ow much? | Coding Geeks
Nightfire is offline   Reply With Quote
Old 07-13-2005, 12:42 AM   PM User | #3
replicah
New Coder

 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
replicah is an unknown quantity at this point
unfortunately, i still dont grasp it 100%

from what i gather saying $this->result is the same as saying $result ?

so why the $this? and is it always the term '$this' ?
replicah is offline   Reply With Quote
Old 07-13-2005, 12:53 AM   PM User | #4
replicah
New Coder

 
Join Date: Jul 2005
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
replicah is an unknown quantity at this point
this is unravelling a whole new confusing world of php i havent come across..

'Classes'. What the?

there's a lot of these -> some of these :: and some of these =>
replicah is offline   Reply With Quote
Old 07-13-2005, 01:06 AM   PM User | #5
Nightfire
Senior Coder

 
Nightfire's Avatar
 
Join Date: Jun 2002
Posts: 4,266
Thanks: 6
Thanked 48 Times in 48 Posts
Nightfire is on a distinguished road
This should explain it a bit more. http://www.informit.com/articles/art...p?p=24607&rl=1
__________________
Blue Panda
Website Design | 1 Pound Ads | 'ow much? | Coding Geeks
Nightfire is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:27 AM.


Advertisement
Log in to turn off these ads.