Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Comparison Character Set

Status
Not open for further replies.

scripter50

IS-IT--Management
Dec 9, 2002
35
US
I found some code in a shareware PHP app that I've never seen and can't seem to identify. Can anyone shed any light on this:

$listTeam = new request();
$listTeam->openTeams($tmpquery);


My problem is the "->" - what does this mean?

Thanks in advance
 
Looks like a class...
first line creates a class
second one seems start a function in this class

So line one creates a class calles $listTeam
Line two uses the function 'openTeams' with a parameter of class $listTeam

JR
As a wise man once said: To build the house you need the stone.
Back to the Basics!
 
Thanks JRBeltman, that's what it is. I hadn't thought to look at OOP syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top