Rather large scale poll question

Author Message

GDA AS

Friday 06 January 2006 12:56:56 am

We are developing a solution for the schools in our area. They want to ask all the pupils a number of questions with possible answers 1 through 6 to indicate if they agree with the statement.

I am going to make a class called "question" and plan to include the class element "matrix" to store the answers. I need to be able to store the answers and report on them when the poll is finished.

My question is if this seems like a good strategy or if other class elements will be more suited to the task at hand.

Thx for any comments..

Kind regards
John Arne Jørgensen

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:37:34
Script start
Timing: Jan 31 2025 00:37:34
Module start 'layout'
Timing: Jan 31 2025 00:37:34
Module start 'content'
Timing: Jan 31 2025 00:37:34
Module end 'content'
Timing: Jan 31 2025 00:37:34
Script end

Main resources:

Total runtime0.0209 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.1563151.2109
Module start 'layout' 0.00540.0036 739.3672220.6875
Module start 'content' 0.00900.0106 960.0547993.6953
Module end 'content' 0.01960.0013 1,953.750029.9922
Script end 0.0209  1,983.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002512.1751140.0002
Check MTime0.00104.7030140.0001
Mysql Total
Database connection0.00094.197010.0009
Mysqli_queries0.002612.308430.0009
Looping result0.00000.047910.0000
Template Total0.00094.310.0009
Template load0.00073.375410.0007
Template processing0.00020.950410.0002
Override
Cache load0.00052.289410.0005
General
dbfile0.00031.285480.0000
String conversion0.00000.033040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs