Alexander O'Neill
14 years ago
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@
|
||||
<?php |
||||
|
||||
class FedoraObject { |
||||
function __construct($pid = '') { |
||||
module_load_include('inc', 'fedora_repository', 'api/fedora_item'); |
||||
if (!empty($pid)) { |
||||
|
||||
$this->pid = $pid; |
||||
$this->item = new Fedora_Item($pid); |
||||
} |
||||
} |
||||
|
||||
public function showFieldSets() { |
||||
$objHelper = new ObjectHelper(); |
||||
|
||||
return $objHelper->getFormattedDatastreamList($this->pid, NULL); |
||||
} |
||||
} |
Loading…
Reference in new issue