Noob to PHP here, I've come across 2 distinct function calls which I'd like to clarify...
Whats the difference between
$response->setParameter('foo', 'bar');
and
sfConfig::set('foo', 'bar');
I'm assuming -> is used for functions for variables, and :: is used for functions for classes. Correct?
Different question, is the => assignment operator only used to assign data within an array? Is this in contrast to the = assignment operator which is used to instantiate or modify a variable?
Thanks for any and all help.