You are here

function views_rdf_views_arguments in Views Datasource 5

File

./views_rdf.module, line 34
Provides Views plugin for rendering node content as RDF.

Code

function views_rdf_views_arguments() {
  $arguments = array(
    'rdf_foaf' => array(
      'name' => t('Views RDF: FOAF data document selector'),
      'handler' => 'views_rdf_foaf_handler',
      'option' => 'string',
      'help' => t('This argument specifies a document selector; it will only provide a method for rendering the current view as a FOAF RDF document.'),
    ),
    'rdf_foaf_format' => array(
      'name' => t('FOAF RDF output format'),
      'handler' => 'views_rdf_foaf_handler',
      'option' => array(
        '#type' => 'select',
        '#options' => array(
          'XML' => t('RDF/XML output'),
          'N3' => t('RDF/N3 output'),
        ),
      ),
      'help' => t('This argument specifies the output format of the RDF document - RDF/XML or RDF/N3.'),
    ),
    'rdf_sioc' => array(
      'name' => t('Views RDF: SIOC data document selector'),
      'handler' => 'views_rdf_sioc_handler',
      'option' => 'string',
      'help' => t('This argument specifies a document selector; it will only provide a method for rendering the current view as a SIOC RDF document.'),
    ),
  );
  return $arguments;
}