We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 2003-2012 (lines=10) @@ | ||
| 2000 | $this->physicalStructureInfo[$physSeq[0]]['contentIds'] = (isset($physNode[0]['CONTENTIDS']) ? (string) $physNode[0]['CONTENTIDS'] : ''); |
|
| 2001 | ||
| 2002 | // Get the file representations from fileSec node. |
|
| 2003 | foreach ($physNode[0]->children('http://www.loc.gov/METS/')->fptr as $fptr) { |
|
| 2004 | ||
| 2005 | // Check if file has valid @USE attribute. |
|
| 2006 | if (!empty($fileUse[(string) $fptr->attributes()->FILEID])) { |
|
| 2007 | ||
| 2008 | $this->physicalStructureInfo[$physSeq[0]]['files'][$fileUse[(string) $fptr->attributes()->FILEID]] = (string) $fptr->attributes()->FILEID; |
|
| 2009 | ||
| 2010 | } |
|
| 2011 | ||
| 2012 | } |
|
| 2013 | ||
| 2014 | // Build the physical elements' array from the physical structMap node. |
|
| 2015 | foreach ($elementNodes as $elementNode) { |
|
| @@ 2032-2041 (lines=10) @@ | ||
| 2029 | $this->physicalStructureInfo[$elements[(int) $elementNode['ORDER']]]['contentIds'] = (isset($elementNode['CONTENTIDS']) ? (string) $elementNode['CONTENTIDS'] : ''); |
|
| 2030 | ||
| 2031 | // Get the file representations from fileSec node. |
|
| 2032 | foreach ($elementNode->children('http://www.loc.gov/METS/')->fptr as $fptr) { |
|
| 2033 | ||
| 2034 | // Check if file has valid @USE attribute. |
|
| 2035 | if (!empty($fileUse[(string) $fptr->attributes()->FILEID])) { |
|
| 2036 | ||
| 2037 | $this->physicalStructureInfo[$elements[(int) $elementNode['ORDER']]]['files'][$fileUse[(string) $fptr->attributes()->FILEID]] = (string) $fptr->attributes()->FILEID; |
|
| 2038 | ||
| 2039 | } |
|
| 2040 | ||
| 2041 | } |
|
| 2042 | ||
| 2043 | } |
|
| 2044 | ||