Please explain usage of "->" and "$this"

Hi, I'm finding the following difficult to research.

Could someone explain the usage of "->" please?

$user->profile_fields = array();

$cp->generate_profile_fields('register', $user->get_iso_lang_id());

$this->tpl_name = 'ucp_register';

$this->page_title = 'UCP_REGISTRATION';

Also, I believe "$this" may be a special case?

Thanks for any info.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion