[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/classes/ -> ajax.class.php (source)

   1  <?php /* $Id: ajax.class.php 38 2008-02-11 11:38:51Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/classes/ajax.class.php $ */
   2  include_once $AppUI->getLibraryClass('xajax/xajax_core/xajax.inc');
   3  $xajax = new xajax();
   4  //Comment next line to turn debuggin off

   5  //$xajax->setFlags(array('debug'=>true));

   6  
   7  class w2PajaxResponse extends xajaxResponse {
   8  
   9  	function addCreateOptions($sSelectId, $options) {
  10          if (sizeof($options) > 0) {
  11              foreach ($options as $key => $option) {
  12                  $this->script("addOption('" . $sSelectId . "','" . $key . "','" . $option . "');");
  13              }
  14          }
  15      }
  16  
  17  }
  18  ?>


Generated: Thu Nov 20 03:00:14 2008 Cross-referenced by PHPXref 0.7