private function _loadResponses() { if (!isset(self::$responseTable)) { self::$responseTable = QFrame_Db_Table::getTable('response'); } $responses = self::$responseTable->fetchRows('questionID', $this->questionRow->questionID, 'responseID', $this->questionRow->pageID); $this->responses = array(); foreach ($responses as $r) { if (!$r->responseEndDate) { array_push($this->responses, new ResponseModel(array('responseID' => $r->responseID, 'instanceID' => $r->instanceID, 'depth' => $this->depth, 'parent' => $this))); } } $this->responsesIndex = 0; return 1; }