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

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

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

e.g.
[code]
$user->profile_fields = array();

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

$this->tpl_name = 'ucp_register';

$this->page_title = 'UCP_REGISTRATION';
[/code]

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

Thanks for any info.

Comments

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!

Categories

In this Discussion