HTML_AJAX

AdvancedSearch | AreaMap ]

Search:

HTML_AJAX - PEAR Package for AJAX and PHP
FAQ
Getting Started
Developer Information
Comments

HTML_AJAX Home

PEAR Page

API Docs

Bugs

Mailing List

The AJAX book by an HTML_AJAX author:

 

Wiki Home

Wiki Syntax

 

Username:

Password:

Edit This Page

Create New Page

Set Tags

HTML_AJAX

Introduction

API

Event Handlers

  • Send : Called when the request is sent to the server
  • Load : Called when the result is loaded in the browser
  • onError : Called when an error happens

Properties

  • defaultServerUrl : Url to use when making method calls from the js api
  • defaultEncoding : Encoding to use when sending data, default value = 'JSON', used by fullCall, Call
  • queues : A hash of possible queues, default value = {'default': HTML_AJAX_Queue_Immediate}
  • clientPools : A hash containing the possible clientPool objects, normally just the default pool is used, see method httpClient

Methods

  • httpClient(name) : name is optional, returns a instance of HTML_AJAX_HttpClient
  • makeRequest(request): Make a request defined by the passed in HTML_AJAX_Request object
  • serializerForEncoding(encoding): get a serializer object for the given encoding. Possible values are: Null, JSON, Error, PHP, Urlencoded
  • fullcall(url,encoding,className,method,callback,args, options) :
  • callPhpCallback:(phpCallback, jsCallback, url) :
  • call(className,method,callback) :
  • post(url,payload,callback,options) :
  • replace(id,url) or (id,class,method) :
  • append(id,url) or (id,class,method) :
  • formEncode(form, array_format) :
  • formSubmit(form, target, options) :
  • makeFormAJAX(form,target,options) :

Notes

HTML_AJAX:HTML_AJAX (68.228.235.15)
Mon Jul 17 22:10:09 2006
[ Links | Source | History | RSS | Edit ]

This site powered by YaWiki 0.22 beta.