Changeset 5 for trunk/php


Ignore:
Timestamp:
03/04/07 20:25:39 (4 years ago)
Author:
richard
Message:

Updating examples, added autocomplete example

Location:
trunk/php
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/php/jQPie.php

    r4 r5  
    172172        $edata = json_encode($data); 
    173173      break; 
     174      case 'xml': 
     175        $edata = $data; 
     176        header('Content-Type: text/xml'); 
    174177      default: 
    175178        /** 
  • trunk/php/jQPie_Response.php

    r4 r5  
    3434   * @var array 
    3535   */ 
    36   var $validBaseMethods = Array('addClass','attr'); 
     36  var $validBaseMethods = Array('addClass','attr','show','Script'); 
    3737 
    3838 
     
    7979      error_log($method.' method has not been tested with jquery to work!'); 
    8080    } 
    81     if(sizeof($args == 1) AND !is_array($args[0])) { 
     81    if(sizeof($args == 1) AND isset($args[0]) AND !is_array($args[0])) { 
    8282      $args = $args[0]; 
    8383    }  
Note: See TracChangeset for help on using the changeset viewer.