aboutsummaryrefslogtreecommitdiff
path: root/apps/subfield.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-20 15:35:06 -0300
committerSilvio <silvio@devlet.com.br>2010-08-20 15:35:06 -0300
commit9afef951067cfacb0e3a808e33670ae67e3e0583 (patch)
treedb00dd78810791ce2141164d4a9b360046699e94 /apps/subfield.php
parent9d6df04cfa4f4afb8e4d3bfadfefc02ff84607f2 (diff)
downloadcinisis-9afef951067cfacb0e3a808e33670ae67e3e0583.tar.gz
cinisis-9afef951067cfacb0e3a808e33670ae67e3e0583.tar.bz2
Using magic methods at CinisisDisplayHelper
Diffstat (limited to 'apps/subfield.php')
-rw-r--r--apps/subfield.php8
1 files changed, 4 insertions, 4 deletions
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']]);