/** * Constructs a Dublin_Core object from a Fedora_Item object and populates * the $dc array. * @param <type> $item */ function Dublin_Core($item = NULL) { if (!empty($item)) { $this->owner = $item; $dc_xml = $item->get_datastream_dissemination('DC'); $this->dc = self::import_from_xml_string($dc_xml)->dc; } }