- Timestamp:
- 03/04/07 19:27:19 (3 years ago)
- Location:
- trunk/php
- Files:
-
- 2 modified
-
jQpie.php (modified) (4 diffs)
-
jQpie_Response.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/php/jQpie.php
r2 r3 1 1 <?php 2 2 /** 3 * Main JqPie Class3 * Main jQPie Class 4 4 * 5 5 * @author Richard Thomas <lists@cyberlot.net> … … 12 12 13 13 /** 14 * JqPie Class14 * jQPie Class 15 15 */ 16 16 17 class JqPie {17 class jQPie { 18 18 /** 19 19 * What formats can we direct process, request handled directly … … 39 39 * @var array 40 40 */ 41 var $callbackFilter = array(' JqPie');41 var $callbackFilter = array('jQPie'); 42 42 43 43 /** … … 68 68 $data = $this->getData($_REQUEST['callback'],$this->getParams(), $_REQUEST['handler']); 69 69 } else { 70 require_once(' JqPie_Response.php');71 $responseObject = JqPie_Response::getInstance();70 require_once('jQPie_Response.php'); 71 $responseObject = jQPie_Response::getInstance(); 72 72 $responseObject->processCallback($_REQUEST['callback'], $this->getParams()); 73 73 $data = $responseObject->getResponse(); -
trunk/php/jQpie_Response.php
r2 r3 1 1 <?php 2 2 /** 3 * Response JqPie Class3 * Response jQPie Class 4 4 * 5 5 * @author Richard Thomas <lists@cyberlot.net> … … 12 12 13 13 /** 14 * JqPie Response Class14 * jQPie Response Class 15 15 */ 16 16 17 class JqPie_Response {17 class jQPie_Response { 18 18 /** 19 19 * @access private 20 20 * @var object 21 21 */ 22 private static $ JqPie_Object;22 private static $jQPie_Object; 23 23 24 24 /** … … 43 43 */ 44 44 public static function getInstance() { 45 if(!self::$ JqPie_Object) {46 self::$ JqPie_Object = new JqPie_Response();45 if(!self::$jQPie_Object) { 46 self::$jQPie_Object = new jQPie_Response(); 47 47 } 48 return self::$ JqPie_Object;48 return self::$jQPie_Object; 49 49 } 50 50
