Jump to content

newb syntax question


herbally

Recommended Posts

It is used with objects to access a property or method of an object.

 

See OOP for more information on Object Oriented Programming.

 

Basically $this means it is being used inside the context of an object (generally a class) so it calls itself. db is a property of the object and safeQuery is a method inside of the db property (which is probably an object itself).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.