*

Recent

Author Topic: What does this mean?????  (Read 4724 times)

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
What does this mean?????
« on: January 09, 2012, 02:08:06 PM »
i cant find this because i dont know the name of it

if ( !$user->data['is_registered'] )

What does the -> mean or better yet could someone just explain this line.

Thanks!

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: What does this mean?????
« Reply #1 on: January 16, 2012, 10:43:12 AM »
no one can explain this?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: What does this mean?????
« Reply #2 on: January 16, 2012, 11:33:39 PM »
It is PHP's way of doing object oriented programming, with $user is the top object and data['is_registered'] being an atribute. Its testing whether or not the user is registered.

That help?