Changeset 98 for Dev/trunk/classes/Question.php
- Timestamp:
- 09/01/11 15:25:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/Question.php
r35 r98 13 13 class Question { 14 14 public $id; 15 public $code; 15 16 public $title; 16 17 public $type; … … 18 19 public $answers; // format answers['#'] 19 20 20 public function __construct($id, $ title, $type, $description = null)21 public function __construct($id, $code, $title, $type, $description = null) 21 22 { 22 23 $this->id = $id; 24 $this->code = $code; 23 25 $this->title = $title; 24 26 $this->type = $type;
Note: See TracChangeset
for help on using the changeset viewer.