|
@@ 218-223 (lines=6) @@
|
| 215 |
|
|
| 216 |
|
$longUris = $this->resource->propertyUris(); |
| 217 |
|
foreach ($longUris as &$prop) { |
| 218 |
|
if (EasyRdf_Namespace::shorten($prop) !== null) { |
| 219 |
|
// shortening property labels if possible |
| 220 |
|
$prop = $sprop = EasyRdf_Namespace::shorten($prop); |
| 221 |
|
} else { |
| 222 |
|
$sprop = "<$prop>"; |
| 223 |
|
} |
| 224 |
|
// EasyRdf requires full URIs to be in angle brackets |
| 225 |
|
|
| 226 |
|
if (in_array($prop, $this->MAPPING_PROPERTIES) && !in_array($prop, $this->DELETED_PROPERTIES)) { |
|
@@ 311-316 (lines=6) @@
|
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
foreach ($longUris as &$prop) { |
| 311 |
|
if (EasyRdf_Namespace::shorten($prop) !== null) { |
| 312 |
|
// shortening property labels if possible |
| 313 |
|
$prop = $sprop = EasyRdf_Namespace::shorten($prop); |
| 314 |
|
} else { |
| 315 |
|
$sprop = "<$prop>"; |
| 316 |
|
} |
| 317 |
|
// EasyRdf requires full URIs to be in angle brackets |
| 318 |
|
|
| 319 |
|
if (!in_array($prop, $this->DELETED_PROPERTIES)) { |