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