Ignore:
Timestamp:
07/21/11 19:01:22 (14 years ago)
Author:
fpvanagthoven
Message:

QuestionID now gets passed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/Question.php

    r32 r35  
    1212 */
    1313class Question {
     14    public $id;
    1415    public $title;
    1516    public $type;
     
    1718    public $answers; // format answers['#']
    1819   
    19     public function __construct($title, $type, $description = null)
     20    public function __construct($id, $title, $type, $description = null)
    2021    {
     22        $this->id = $id;
    2123        $this->title = $title;
    2224        $this->type = $type;
Note: See TracChangeset for help on using the changeset viewer.