HTML_QuickForm_Livesearch
[ class tree: HTML_QuickForm_Livesearch ] [ index: HTML_QuickForm_Livesearch ] [ all elements ]

Source for file myfunction.php

Documentation is available at myfunction.php

  1. <?php
  2. // $Id$
  3. class Test
  4. {
  5.     function getTestName($dbh$id{
  6.         $livesearch = array(
  7.                                 1 => 'Orange',
  8.                                 2 => 'Apple',
  9.                                 3 => 'Pear',
  10.                                 4 => 'Banana',
  11.                                 5 => 'Blueberry'
  12.                                 );
  13.         if ($id > 0{
  14.             return $livesearch[$id];
  15.         }
  16.     }
  17.  
  18.     function getTestName2($dbh$id{
  19.         $livesearch = array(
  20.                                 1 => 'Orange-2',
  21.                                 2 => 'Apple-2',
  22.                                 3 => 'Pear-2',
  23.                                 4 => 'Banana-2',
  24.                                 5 => 'Blueberry-2'
  25.                                 );
  26.         if ($id > 0{
  27.             return $livesearch[$id];
  28.         }
  29.     }
  30. }
  31. ?>

Documentation generated on Mon, 11 Mar 2019 15:48:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.