Welcome, Guest
Username: Password: Remember me

TOPIC: Survey Table - Table Creation Query Location

Survey Table - Table Creation Query Location 1 year 9 months ago #83570

  • utsi
  • utsi's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Thank you received: 1
  • Karma: -2
Hi. A little about me first. I'm relatively new to PHP (9 months). I've started to learn OOP recently. Though I've not yet reached the mastery level, I'm able to understand 70% of the source code related to OOP. One of my favorite things to do is learn and observe source codes of applications to improve myself.

I've been going through the source of LimeSurvey and have been able to interpret 40-50% of the code so far. I've come to a stage where I'm having a hard time finding out where and how exactly database tables are being created for surveys.

Of what I've understood, a table for survey is being created on the fly as soon an active survey is being taken. Assuming I'm right, I'm unable to pinpoint where exactly the queries are being performed.

I would really appreciate any help on this matter.

Thanks,
Safdar
The administrator has disabled public write access.

Re: Survey Table - Table Creation Query Location 1 year 9 months ago #83574

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5845
  • Thank you received: 715
  • Karma: 222
Hello,

For 1.92, look at admin/activate_funcions.php, function activateSurvey .

Denis
Last Edit: 1 year 9 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: utsi

Re: Survey Table - Table Creation Query Location 1 year 9 months ago #83578

  • utsi
  • utsi's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Thank you received: 1
  • Karma: -2
Thanks for the reply. Going through that function right now.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.100 seconds
Donation Image