public function __construct($id)
 {
     $row_c = Database::getRow('LRC', 'label="LRC_Quest"');
     $row_v = Database::getQuestRow('LRC_Quest', '' . $id, 'active, complete, visible', '1, 0, 1');
     parent::__construct(array('name' => $row_c['name'], 'active' => $row_v['active'], 'complete' => $row_v['complete'], 'visible' => $row_v['visible'], 'objective' => $row_c['objective'], 'reward' => $row_c['reward'], 'quests' => array(0 => new LRC_Visit($id), 1 => new LRC_GetPlanner($id), 2 => new LRC_SayingOnWall($id), 3 => new LRC_VisitWritingCenter($id), 4 => new LRC_VisitLRCMathLab($id), 5 => new LRC_TypesOfCoaching($id), 6 => new LRC_Appointment($id), 7 => new LRC_TopicsOfACC($id), 8 => new LRC_WednesdayWorkshop($id))));
 }