|
@@ 403-408 (lines=6) @@
|
| 400 |
|
|
| 401 |
|
$longUris = $this->resource->propertyUris(); |
| 402 |
|
foreach ($longUris as &$prop) { |
| 403 |
|
if (EasyRdf\RdfNamespace::shorten($prop) !== null) { |
| 404 |
|
// shortening property labels if possible |
| 405 |
|
$prop = $sprop = EasyRdf\RdfNamespace::shorten($prop); |
| 406 |
|
} else { |
| 407 |
|
// EasyRdf requires full URIs to be in angle brackets |
| 408 |
|
$sprop = "<$prop>"; |
| 409 |
|
} |
| 410 |
|
if ($whitelist && !in_array($prop, $whitelist)) { |
| 411 |
|
// whitelist in use and this is not a whitelisted property, skipping |
|
@@ 504-509 (lines=6) @@
|
| 501 |
|
foreach ($longUris as &$prop) { |
| 502 |
|
// storing full URI without brackets in a separate variable |
| 503 |
|
$longUri = $prop; |
| 504 |
|
if (EasyRdf\RdfNamespace::shorten($prop) !== null) { |
| 505 |
|
// shortening property labels if possible |
| 506 |
|
$prop = $sprop = EasyRdf\RdfNamespace::shorten($prop); |
| 507 |
|
} else { |
| 508 |
|
// EasyRdf requires full URIs to be in angle brackets |
| 509 |
|
$sprop = "<$prop>"; |
| 510 |
|
} |
| 511 |
|
|
| 512 |
|
if (!in_array($prop, $this->DELETED_PROPERTIES) || ($this->isGroup() === false && $prop === 'skos:member')) { |