Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

$this->event vs. $this->getEvent()

  • sodiumchl
  • sodiumchl's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 3 months ago #209779 by sodiumchl
$this->event vs. $this->getEvent() was created by sodiumchl
Is there any difference in
Code:
$this->event vs. $this->getEvent()

If not, which one do you recommend?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210958 by DenisChenu
Replied by DenisChenu on topic $this->event vs. $this->getEvent()

sodiumchl wrote: Is there any difference in

Code:
$this->event vs. $this->getEvent()

If not, which one do you recommend?
 

Exactly the same … and here : it's PHP not javascript (for @mejathan)

Maybe best is start to learn : duckduckgo.com/?q=php+setter+getter

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose