Possible Duplicate:
In PHP, whats the difference between :: and -> ?
I've been seeing this class::function
more in some code examples and thought it was the same as this class->function
, but I wanted to know if there is a use case as to when I would use one over the other?