Source for file auto_server.php
Documentation is available at auto_server.php
* Server that exposes a class for doing a fake review
* @author Joshua Eichorn <josh@bluga.net>
* @copyright 2005 Joshua Eichorn
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @version Release: 0.5.4
* @link http://pear.php.net/package/HTML_AJAX
// include the server class
include 'HTML/AJAX/Server.php';
// extend HTML_AJAX_Server creating our own custom one with init{ClassName} methods for each class it supports calls on
// this flag must be set to on init methods
// init method for the test class, includes needed files an registers it for ajax
include 'review.class.php';
$this->registerClass(new review (),'Review',array ('newReview','updateReview')); // specify methods so that we get case in php4
// create an instance of our test server
// handle requests as needed
Documentation generated on Fri, 04 Apr 2008 18:30:13 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.
|