diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-20 15:35:06 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-20 15:35:06 -0300 |
commit | 9afef951067cfacb0e3a808e33670ae67e3e0583 (patch) | |
tree | db00dd78810791ce2141164d4a9b360046699e94 /apps/repetition.php | |
parent | 9d6df04cfa4f4afb8e4d3bfadfefc02ff84607f2 (diff) | |
download | cinisis-9afef951067cfacb0e3a808e33670ae67e3e0583.tar.gz cinisis-9afef951067cfacb0e3a808e33670ae67e3e0583.tar.bz2 |
Using magic methods at CinisisDisplayHelper
Diffstat (limited to 'apps/repetition.php')
-rw-r--r-- | apps/repetition.php | 6 |
1 files changed, 3 insertions, 3 deletions
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']]); |