/** * Internal function to return a ReviewForm object from a row. * @param $row array * @return ReviewForm */ function &_returnReviewFormFromRow(&$row) { $reviewForm = new ReviewForm(); $reviewForm->setId($row['review_form_id']); $reviewForm->setConferenceId($row['conference_id']); $reviewForm->setSequence($row['seq']); $reviewForm->setActive($row['is_active']); $reviewForm->setCompleteCount($row['complete_count']); $reviewForm->setIncompleteCount($row['incomplete_count']); $this->getDataObjectSettings('review_form_settings', 'review_form_id', $row['review_form_id'], $reviewForm); HookRegistry::call('ReviewFormDAO::_returnReviewFormFromRow', array(&$reviewForm, &$row)); return $reviewForm; }