Beispiel #1
0
 /**
  * Internal function to return an ArticleGalley object from a row.
  * @param $row array
  * @return ArticleGalley
  */
 function &_returnGalleyFromRow($row)
 {
     $galley = new ArticleGalley();
     $galley->setId($row['galley_id']);
     $galley->setSubmissionId($row['submission_id']);
     $galley->setLocale($row['locale']);
     $galley->setLabel($row['label']);
     $galley->setSequence($row['seq']);
     $galley->setRemoteURL($row['remote_url']);
     $galley->setIsAvailable($row['is_available']);
     $galley->setGalleyType($row['galley_type']);
     $this->getDataObjectSettings('submission_galley_settings', 'galley_id', $row['galley_id'], $galley);
     HookRegistry::call('ArticleGalleyDAO::_returnGalleyFromRow', array(&$galley, &$row));
     return $galley;
 }