cvs: pear /HTML_AJAX AJAX.php
| From: | David Coallier | Date: | Fri, 19 Aug 2005 02:57:11 +0000 |
| Subject: | cvs: pear /HTML_AJAX AJAX.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-34148@lists.php.net to get a copy of this message | ||
davidc Thu Aug 18 22:57:11 2005 EDT
Modified files:
/pear/HTML_AJAX AJAX.php
Log:
Pear CS and $Id$
http://cvs.php.net/diff.php/pear/HTML_AJAX/AJAX.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_AJAX/AJAX.php
diff -u pear/HTML_AJAX/AJAX.php:1.1 pear/HTML_AJAX/AJAX.php:1.2
--- pear/HTML_AJAX/AJAX.php:1.1 Thu Aug 18 09:09:49 2005
+++ pear/HTML_AJAX/AJAX.php Thu Aug 18 22:57:10 2005
@@ -1,4 +1,5 @@
<?php
+// $Id: AJAX.php,v 1.2 2005/08/19 02:57:10 davidc Exp $
/**
* OO AJAX Implementation for PHP
*
@@ -30,7 +31,8 @@
* @todo pass server side warnings to the client as exceptions or something like that
* @todo Add some sort of debugging console
*/
-class HTML_AJAX {
+class HTML_AJAX
+{
/**
* An array holding the instances were exporting
*
@@ -158,8 +160,7 @@
$client .= "\tthis.className = '$name';\n";
if ($this->serverUrl) {
$client .= "\tthis.dispatcher = new
HTML_AJAX_Dispatcher(this.className,mode,callback,'{$this->serverUrl}');\n}\n";
- }
- else {
+ } else {
$client .= "\tthis.dispatcher = new
HTML_AJAX_Dispatcher(this.className,mode,callback);\n}\n";
}
$client .= "$name.prototype = {\n";