/** * Internal function to return a Chapter object from a row. * @param $row array * @return Chapter */ function &_returnFromRow(&$row) { $chapter = new Chapter(); $chapter->setId($row['chapter_id']); $chapter->setMonographId($row['monograph_id']); $chapter->setSequence($row['chapter_seq']); $this->getDataObjectSettings('monograph_chapter_settings', 'chapter_id', $row['chapter_id'], $chapter); HookRegistry::call('ChapterDAO::_returnFromRow', array(&$chapter, &$row)); return $chapter; }