Class: HTML_AJAX
Source Location: /HTML_AJAX-0.5.5/AJAX.php
OO AJAX Implementation for PHP
Author(s):
Version:
Copyright:
- 2005 Joshua Eichorn, Arpad Ray, David Coallier, Elizabeth Smith
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$contentTypeMap = array(
'JSON' => 'application/json',
'XML' => 'application/xml',
'Null' => 'text/plain',
'Error' => 'application/error',
'PHP' => 'application/php-serialized',
'Urlencoded' => 'application/x-www-form-urlencoded'
)
[line 72]
Content-type map Used in to automatically choose serializers as needed
$debug =
[line 87]
This is the debug variable that we will be passing the HTML_AJAX_Debug instance to.
$debugEnabled = false
[line 93]
This is to tell if debug is enabled or not. If so, then debug is called, instantiated then saves the file and such.
$debugSession = false
[line 101]
This puts the error into a session variable is set to true. set to false by default.
$jsonLooseType = true
[line 65]
Option to use loose typing for JSON encoding
$packJavaScript = false
[line 126]
Automatically pack all generated JavaScript making it smaller If your using output compression this might not make sense
$php4CompatCase = false
[line 119]
Make Generated code compatible with php4 by lowercasing all class/method names before exporting to JavaScript If you have code that works on php4 but not on php5 then setting this flag can fix the problem. The recommended solution is too specify the class and method names when registering the class letting you have function case in php4 as well
$sendContentLength = true
[line 109]
If the Content-Length header should be sent, if your using a gzip handler on an output buffer, or run into any compatability problems, try disabling this.
$serializer = 'JSON'
[line 52]
What encoding your going to use for serializing data from php being sent to javascript
$serverUrl = false
[line 46]
Set the server url in the generated stubs to this value If set to false, serverUrl will not be set
$unserializer = 'JSON'
[line 58]
What encoding your going to use for unserializing data sent from javascript
Method Detail
Documentation generated on Mon, 11 Mar 2019 15:19:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|