aboutsummaryrefslogtreecommitdiff
path: root/apps/field.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/field.php
parent9d6df04cfa4f4afb8e4d3bfadfefc02ff84607f2 (diff)
downloadcinisis-9afef951067cfacb0e3a808e33670ae67e3e0583.tar.gz
cinisis-9afef951067cfacb0e3a808e33670ae67e3e0583.tar.bz2
Using magic methods at CinisisDisplayHelper
Diffstat (limited to 'apps/field.php')
-rw-r--r--apps/field.php6
1 files changed, 3 insertions, 3 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']]);