AJAX
[ class tree: AJAX ] [ index: AJAX ] [ all elements ]

Class: TestServer

Source Location: /HTML_AJAX-0.5.6/examples/auto_server.php

Class Overview

HTML_AJAX_Server
   |
   --TestServer

Class for creating an external AJAX server


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 Joshua Eichorn

Variables

Methods


Inherited Variables

Inherited Methods

Class: HTML_AJAX_Server

HTML_AJAX_Server::HTML_AJAX_Server()
Constructor creates the HTML_AJAX instance
HTML_AJAX_Server::clientJsLocation()
Get the location of the client js To override the default pear datadir location set $this->clientJsLocation
HTML_AJAX_Server::generateClient()
Generate client js
HTML_AJAX_Server::handleRequest()
Handle a client request, either generating a client or having HTML_AJAX handle the request
HTML_AJAX_Server::registerClass()
Register method passthrough to HTML_AJAX
HTML_AJAX_Server::registerInitObject()
Register init methods from an external class
HTML_AJAX_Server::registerJSLibrary()
Register a new js client library
HTML_AJAX_Server::registerPhpCallback()
Register a callback to be exported to the client
HTML_AJAX_Server::setClientJsLocation()
Set the location of the client js
HTML_AJAX_Server::setJavascriptLibraryPath()
Set the path to a Javascript libraries
HTML_AJAX_Server::setJavascriptLibraryPaths()
Set the path to more than one Javascript libraries at once
HTML_AJAX_Server::setSerializer()
Change default serialization - important for exporting classes

Class Details

[line 24]
Class for creating an external AJAX server

Can be used in 2 different modes, registerClass mode where you create an instance of the server and add the classes that will be registered and then run handle request

Or you can extend it and add init{className} methods for each class you want to export

Client js generation is exposed through 2 _GET params client and stub Setting the _GET param client to `all` will give you all the js classes needed Setting the _GET param stub to `all` will give you stubs of all registered classes, you can also set it too just 1 class

  • Author: Joshua Eichorn <josh@bluga.net>
  • Version: Release: @package_version@
  • Copyright: 2005 Joshua Eichorn


[ Top ]


Class Variables

$initMethods =  true

[line 26]


Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

initLivesearch   [line 35]

void initLivesearch( )


[ Top ]

initTest   [line 29]

void initTest( )


[ Top ]

initTestHaa   [line 41]

void initTestHaa( )


[ Top ]


Documentation generated on Mon, 16 Jun 2008 15:00:10 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.