You are here

function querypath_examples_show_sparql_form in QueryPath 6

Same name and namespace in other branches
  1. 7.3 querypath_examples.module \querypath_examples_show_sparql_form()
  2. 7.2 querypath_examples.module \querypath_examples_show_sparql_form()
1 string reference to 'querypath_examples_show_sparql_form'
querypath_examples_show_sparql in ./querypath_examples.module

File

./querypath_examples.module, line 305
The main file for querypath_examples.

Code

function querypath_examples_show_sparql_form($edit) {
  $form['sparql_name'] = array(
    '#type' => 'textfield',
    '#title' => t('Search'),
    '#description' => t('Enter a term. (Case-sensitive)'),
    '#default_value' => t('The Beatles'),
    '#size' => 60,
    '#maxlength' => 256,
    '#required' => FALSE,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Go'),
  );
  return $form;
}