From 0209dbb0610592291cd00023e1b38d131179b26c Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Thu, 10 Feb 2011 02:32:23 -0400 Subject: [PATCH] ISLANDORA-171 Initial add fedoraObject.inc to hold behaviour common to all objects. --- plugins/fedoraObject.inc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 plugins/fedoraObject.inc diff --git a/plugins/fedoraObject.inc b/plugins/fedoraObject.inc new file mode 100644 index 00000000..fa41f3c6 --- /dev/null +++ b/plugins/fedoraObject.inc @@ -0,0 +1,18 @@ +pid = $pid; + $this->item = new Fedora_Item($pid); + } + } + + public function showFieldSets() { + $objHelper = new ObjectHelper(); + + return $objHelper->getFormattedDatastreamList($this->pid, NULL); + } +} \ No newline at end of file