diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/field.php | 6 | ||||
-rw-r--r-- | apps/index.php | 2 | ||||
-rw-r--r-- | apps/repetition.php | 6 | ||||
-rw-r--r-- | apps/subfield.php | 8 |
4 files changed, 11 insertions, 11 deletions
diff --git a/apps/field.php b/apps/field.php index 3d36df6..697bd90 100644 --- a/apps/field.php +++ b/apps/field.php @@ -12,8 +12,8 @@ $fid = CinisisHttpHelper::get_numeric_arg('fid'); // Draw the document. $display = new CinisisDisplayHelper('Field finder'); -$form = $display->form_input_text('entry', $entry); -$form .= $display->form_input_text('fid', $fid); +$form = $display->formInputText('entry', $entry); +$form .= $display->formInputText('fid', $fid); $display->form($form, basename(__FILE__)); // Get a db instance. @@ -31,7 +31,7 @@ if ($isis) { // Format output. echo "<pre>\n"; echo "Selected field: $fid: ". $field['name'] ."\n"; - echo "Showing entry ". $display->entry_link($entry) ." from ". $isis->entries ." total entries.\n"; + echo "Showing entry ". $display->entryLink($entry) ." from ". $isis->entries ." total entries.\n"; echo "Repetitions found: ". count($result[$field['name']]) .".\n"; echo "\n"; print_r($result[$field['name']]); diff --git a/apps/index.php b/apps/index.php index cd5e5bb..fd8877b 100644 --- a/apps/index.php +++ b/apps/index.php @@ -11,7 +11,7 @@ $entry = CinisisHttpHelper::get_numeric_arg('entry'); // Draw the document. $display = new CinisisDisplayHelper('Isis Navigator'); -$display->form($display->form_input_text('entry', $entry)); +$display->form($display->formInputText('entry', $entry)); // Get a db instance. $isis = new Cinisis(); diff --git a/apps/repetition.php b/apps/repetition.php index a45e6f4..9e47361 100644 --- a/apps/repetition.php +++ b/apps/repetition.php @@ -12,8 +12,8 @@ $fid = CinisisHttpHelper::get_numeric_arg('fid'); // Draw the document. $display = new CinisisDisplayHelper('Repetition finder'); -$form = $display->form_input_text('entry', $entry); -$form .= $display->form_input_text('fid', $fid); +$form = $display->formInputText('entry', $entry); +$form .= $display->formInputText('fid', $fid); $display->form($form, basename(__FILE__)); // Get a db instance. @@ -31,7 +31,7 @@ if ($isis) { // Format output. echo "<pre>\n"; echo "Selected field: $fid: ". $field['name'] ."\n"; - echo "Showing entry ". $display->entry_link($entry) ." from ". $isis->entries ." total entries.\n"; + echo "Showing entry ". $display->entryLink($entry) ." from ". $isis->entries ." total entries.\n"; echo "Repetitions found: ". count($result[$field['name']]) .".\n"; echo "\n"; print_r($result[$field['name']]); diff --git a/apps/subfield.php b/apps/subfield.php index a7a33f2..ba37291 100644 --- a/apps/subfield.php +++ b/apps/subfield.php @@ -13,9 +13,9 @@ $sid = CinisisHttpHelper::get_textual_arg('sid'); // Draw the document. $display = new CinisisDisplayHelper('Subfield finder'); -$form = $display->form_input_text('entry', $entry); -$form .= $display->form_input_text('fid', $fid); -$form .= $display->form_input_text('sid', $sid); +$form = $display->formInputText('entry', $entry); +$form .= $display->formInputText('fid', $fid); +$form .= $display->formInputText('sid', $sid); $display->form($form, basename(__FILE__)); // Get a db instance. @@ -35,7 +35,7 @@ if ($isis) { echo "<pre>\n"; echo "Selected field: $fid: ". $field['name'] .".\n"; echo "Selected subfield: $sid: $subfield.\n"; - echo "Showing entry ". $display->entry_link($entry) ." from ". $isis->entries ." total entries.\n"; + echo "Showing entry ". $display->entryLink($entry) ." from ". $isis->entries ." total entries.\n"; echo "Repetitions found: ". count($result[$field['name']]) .".\n"; echo "\n"; print_r($result[$field['name']]); |