public function getExportForm(core_kernel_classes_Resource $resource)
    {
        if ($resource instanceof \core_kernel_classes_Class) {
            $formData = ['class' => $resource];
        } else {
            $formData = ['class' => $this->getClass($resource)];
        }
        $form = new MetadataExporterForm($formData);

        return $form->getForm();
    }
public function getExportForm(core_kernel_classes_Resource $resource)
    {
        if ($resource instanceof \core_kernel_classes_Class) {
            $formData = ['class' => $resource];
        } else {
            $formData = ['class' => $this->getClass($resource)];
        }
        $form = new MetadataExporterForm($formData);

        return $form->getForm();
    }
public function getExportForm ( core_kernel_classes_Resource $ resource ) { if ( $ resource instanceof \ core_kernel_classes_Class ) { $ formData = [ 'class' => $ resource ] ; } else { $ formData = [ 'class' => $ this -> getClass ( $ resource ) ] ; } $ form = new MetadataExporterForm ( $ formData ) ; return $ form -> getForm ( ) ; }
Create MetadataExporterForm with class uri

@param core_kernel_classes_Resource $resource
@return \tao_helpers_form_Form
Create MetadataExporterForm with class uri