/** * Internal function to return a Institution object from a row. * @param $row array * @return Section */ function &_returnInstitutionFromRow(&$row) { $institution = new Institution(); $institution->setInstitutionId($row['institution_id']); $institution->setInstitutionType($row['type']); $institution->setInstitutionInternational($row['international']); $institution->setInstitutionLocation($row['location']); $institution->setInstitutionName($row['name']); $institution->setInstitutionAcronym($row['acronym']); HookRegistry::call('InstitutionDAO::_returnInstitutionFromRow', array(&$institution, &$row)); return $institution; }