Page 1 of 1

what does -> mean?

Posted: Sat Mar 12, 2011 2:31 am
by stevestark5000
what is the -> called in the following code? also, is add a function?
$form->add('ARTICLE_announce', 'checkbox');

Re: what does -> mean?

Posted: Sat Mar 12, 2011 12:22 pm
by Darhazer
add is a method (function of a class)
-> is used to refer to class variables and functions