From 9afef951067cfacb0e3a808e33670ae67e3e0583 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 20 Aug 2010 15:35:06 -0300 Subject: Using magic methods at CinisisDisplayHelper --- apps/field.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/field.php') 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 "
\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']]);
-- 
cgit v1.2.3