Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ x ]
[ _ ]
top
top
c
- $cacheOptions
- in file Server.php, variable HTML_AJAX_Server::$cacheOptions
An array of options that tell the server howto Cache output
- $clientJsLocation
- in file Server.php, variable HTML_AJAX_Server::$clientJsLocation
Location on filesystem of client javascript library
- $combineJsIncludes
- in file Helper.php, variable HTML_AJAX_Helper::$combineJsIncludes
Combine jsLibraries into a single require and remove duplicates
- $compression
- in file Server.php, variable HTML_AJAX_Server::$compression
Compression Options
- $contentType
- in file Action.php, variable HTML_AJAX_Action::$contentType
Content type for the HAA response
- $contentType
- in file Response.php, variable HTML_AJAX_Response::$contentType
The base response class uses plain text so use that content type
- $contentTypeMap
- in file AJAX.php, variable HTML_AJAX::$contentTypeMap
Content-type map
- clearAttr
- in file Action.php, method HTML_AJAX_Action::clearAttr()
Deletes or assigns a value of an empty string to an attribute
- clearGuestbook
- in file guestbook.class.php, method guestbook::clearGuestbook()
- clientJsLocation
- in file Server.php, method HTML_AJAX_Server::clientJsLocation()
Get the location of the client js To override the default pear datadir location set $this->clientJsLocation
- combineActions
- in file Action.php, method HTML_AJAX_Action::combineActions()
Adds all the actions from one response object to another, feature request #6635 at pear.php.net
- cookies
- in file test.class.php, method test::cookies()
- createHealthy
- in file xml.class.php, method TestXml::createHealthy()
- createJunk
- in file xml.class.php, method TestXml::createJunk()
- createNode
- in file Action.php, method HTML_AJAX_Action::createNode()
create a dom node via javascript
- class.login.php
- procedural page class.login.php
top
d
- $debug
- in file AJAX.php, variable HTML_AJAX::$debug
This is the debug variable that we will be passing the HTML_AJAX_Debug instance to.
- $debugEnabled
- in file AJAX.php, variable HTML_AJAX::$debugEnabled
This is to tell if debug is enabled or not. If so, then debug is called, instantiated then saves the file and such.
- $debugSession
- in file AJAX.php, variable HTML_AJAX::$debugSession
This puts the error into a session variable is set to true.
- decode
- in file JSON.php, method HTML_AJAX_JSON::decode()
decodes a JSON string into appropriate variable
- deleteEntry
- in file guestbook.class.php, method guestbook::deleteEntry()
- dump
- in file test.class.php, method test::dump()
- duplicate
- in file testHaa.class.php, method testHaa::duplicate()
- Debug.php
- procedural page Debug.php
top
e
- echo_data
- in file test.class.php, method test::echo_data()
- echo_string
- in file test.class.php, method test::echo_string()
- echo_strings
- in file test.class.php, method test::echo_strings()
- editEntry
- in file guestbook.class.php, method guestbook::editEntry()
- encloseInScript
- in file Helper.php, method HTML_AJAX_Helper::encloseInScript()
Enclose a string in a script block
- encode
- in file JSON.php, method HTML_AJAX_JSON::encode()
encodes an arbitrary variable into JSON format
- error_test
- in file test.class.php, method test::error_test()
- error_test
- in file error_usage.php, method error_test::error_test()
- error_test
- in file error_usage.php, class error_test
- ERR_EMAIL_EMPTY
- in file class.login.php, constant ERR_EMAIL_EMPTY
- ERR_EMAIL_INVALID
- in file class.login.php, constant ERR_EMAIL_INVALID
- ERR_PASSWORD_EMPTY
- in file class.login.php, constant ERR_PASSWORD_EMPTY
- ERR_PASSWORD_INVALID
- in file class.login.php, constant ERR_PASSWORD_INVALID
- ERR_USERNAME_EMPTY
- in file class.login.php, constant ERR_USERNAME_EMPTY
- ERR_USERNAME_INVALID
- in file class.login.php, constant ERR_USERNAME_INVALID
- escape
- in file Helper.php, method HTML_AJAX_Helper::escape()
Escape a string and add quotes allowing it to be a javascript paramater
- Error.php
- procedural page Error.php
- error_usage.php
- procedural page error_usage.php
top
f
- Foo
- in file php_callback.php, class Foo
- foobar
- in file php_callback.php, function foobar()
- form.php
- procedural page form.php
top
g
- generateClassStub
- in file AJAX.php, method HTML_AJAX::generateClassStub()
Return the stub for a class
- generateClient
- in file Server.php, method HTML_AJAX_Server::generateClient()
Generate client js
- generateJavaScriptClient
- in file AJAX.php, method HTML_AJAX::generateJavaScriptClient()
Generate the client Javascript code
- getContentType
- in file Response.php, method HTML_AJAX_Response::getContentType()
Returns the appropriate content type
- getPayload
- in file Response.php, method HTML_AJAX_Response::getPayload()
Returns the serialized content of the response class
- getPayload
- in file Action.php, method HTML_AJAX_Action::getPayload()
Returns the serialized content of the response class
- greenText
- in file testHaa.class.php, method testHaa::greenText()
- guestbook
- in file guestbook.class.php, method guestbook::guestbook()
- guestbook
- in file guestbook.class.php, class guestbook
- GuestbookServer
- in file auto_server.php, class GuestbookServer
Class for creating an external AJAX server
- grab.php
- procedural page grab.php
- guestbook.class.php
- procedural page guestbook.class.php
top
h
- handleRequest
- in file AJAX.php, method HTML_AJAX::handleRequest()
Handle a ajax request if needed
- handleRequest
- in file Server.php, method HTML_AJAX_Server::handleRequest()
Handle a client request, either generating a client or having HTML_AJAX handle the request
- highlight
- in file testHaa.class.php, method testHaa::highlight()
- HTML_AJAX
- in file AJAX.php, class HTML_AJAX
OO AJAX Implementation for PHP
- Helper.php
- procedural page Helper.php
- haa_usage.php
- procedural page haa_usage.php
- helper_usage.php
- procedural page helper_usage.php
- HTML_AJAX_Action
- in file Action.php, class HTML_AJAX_Action
Helper class to eliminate the need to write javascript functions to deal with data
- HTML_AJAX_Class_exists
- in file AJAX.php, function HTML_AJAX_Class_exists()
PHP 4 compat function for interface/class exists
- HTML_AJAX_Debug
- in file Debug.php, class HTML_AJAX_Debug
AJAX Debugging implementation
- HTML_AJAX_Debug
- in file Debug.php, method HTML_AJAX_Debug::HTML_AJAX_Debug()
The constructor.
- HTML_AJAX_Helper
- in file Helper.php, class HTML_AJAX_Helper
HTML/JavaScript Generation Helper
- HTML_AJAX_JSON
- in file JSON.php, method HTML_AJAX_JSON::HTML_AJAX_JSON()
constructs a new JSON instance
- HTML_AJAX_JSON
- in file JSON.php, class HTML_AJAX_JSON
Converts to and from JSON format.
- HTML_AJAX_JSON_Error
- in file JSON.php, method HTML_AJAX_JSON_Error::HTML_AJAX_JSON_Error()
- HTML_AJAX_JSON_Error
- in file JSON.php, class HTML_AJAX_JSON_Error
- HTML_AJAX_NEWLINE
- in file Debug.php, constant HTML_AJAX_NEWLINE
Newline to use
- HTML_AJAX_Response
- in file Response.php, class HTML_AJAX_Response
Simple base class for a response object to use as an ajax callback
- HTML_AJAX_Serializer_Error
- in file Error.php, class HTML_AJAX_Serializer_Error
Error Serializer, for now just uses JSON
- HTML_AJAX_Serializer_JSON
- in file JSON.php, method HTML_AJAX_Serializer_JSON::HTML_AJAX_Serializer_JSON()
- HTML_AJAX_Serializer_JSON
- in file JSON.php, class HTML_AJAX_Serializer_JSON
JSON Serializer
- HTML_AJAX_Serializer_Null
- in file Null.php, class HTML_AJAX_Serializer_Null
Null Serializer
- HTML_AJAX_Serializer_PHP
- in file PHP.php, class HTML_AJAX_Serializer_PHP
PHP Serializer
- HTML_AJAX_Serializer_Urlencoded
- in file Urlencoded.php, class HTML_AJAX_Serializer_Urlencoded
URL Encoding Serializer
- HTML_AJAX_Serializer_XML
- in file XML.php, class HTML_AJAX_Serializer_XML
XML Serializer - does NOT need a js serializer, use responseXML property in XmlHttpRequest
- HTML_AJAX_Server
- in file Server.php, class HTML_AJAX_Server
Class for creating an external AJAX server
- HTML_AJAX_Server
- in file Server.php, method HTML_AJAX_Server::HTML_AJAX_Server()
Constructor creates the HTML_AJAX instance
- http_build_query
- in file Urlencoded.php, function http_build_query()
Replacement for http_build_query()
top
i
- $initMethods
- in file auto_server.php, variable ReviewServer::$initMethods
- $initMethods
- in file auto_server.php, variable LoginServer::$initMethods
- $initMethods
- in file auto_server.php, variable GuestbookServer::$initMethods
- $initMethods
- in file slow_server.php, variable TestServer::$initMethods
- $initMethods
- in file Server.php, variable HTML_AJAX_Server::$initMethods
Set to true if your extending the server to add init{className methods}
- index.php
- procedural page index.php
- index.php
- procedural page index.php
- interceptors.php
- procedural page interceptors.php
- interceptorServer.php
- procedural page interceptorServer.php
- index.php
- procedural page index.php
- index.php
- procedural page index.php
- interceptor.php
- procedural page interceptor.php
- isajax.php
- procedural page isajax.php
- initGuestbook
- in file auto_server.php, method GuestbookServer::initGuestbook()
- initLivesearch
- in file slow_server.php, method TestServer::initLivesearch()
- initLogin
- in file auto_server.php, method LoginServer::initLogin()
- initObject
- in file auto_server.php, class initObject
- initReview
- in file auto_server.php, method ReviewServer::initReview()
- initTest
- in file slow_server.php, method TestServer::initTest()
- initTest2
- in file auto_server.php, method initObject::initTest2()
- initTestHaa
- in file slow_server.php, method TestServer::initTestHaa()
- insertAlert
- in file Action.php, method HTML_AJAX_Action::insertAlert()
Send a string to a javascript alert
- insertScript
- in file Action.php, method HTML_AJAX_Action::insertScript()
Send a string to a javascript eval
- intercept
- in file interceptor.php, method Interceptor::intercept()
A global interceptor runs all calls not matched by a more specific rule
- Interceptor
- in file interceptor.php, class Interceptor
- isAJAX
- in file Helper.php, method HTML_AJAX_Helper::isAJAX()
Check the request headers to see if this is an AJAX request
- isError
- in file JSON.php, method HTML_AJAX_JSON::isError()
top
top
l
- $livesearch
- in file livesearch.class.php, variable livesearch::$livesearch
Items to search against
- $loose_type
- in file JSON.php, variable HTML_AJAX_Serializer_JSON::$loose_type
use loose typing to decode js objects into php associative arrays
- livesearch.class.php
- procedural page livesearch.class.php
- livesearch
- in file livesearch.class.php, class livesearch
Simple test class for doing fake livesearch
- loadingMessage
- in file Helper.php, method HTML_AJAX_Helper::loadingMessage()
Create a custom Loading message
- login
- in file class.login.php, class login
Login class used in the "login form" example Please note: Constructors and private methods marked with _ are never exported in proxies to JavaScript
- login
- in file class.login.php, method login::login()
PHP5 requires a constructor
- LoginServer
- in file auto_server.php, class LoginServer
Class for creating an external AJAX server
top
m
- MESSAGE_FILE
- in file shoutbox.php, constant MESSAGE_FILE
AJAX form submission, practical example
- multiarg
- in file test.class.php, method test::multiarg()
top
top
top
top
top
r
- Response.php
- procedural page Response.php
- review.class.php
- procedural page review.class.php
- registerClass
- in file AJAX.php, method HTML_AJAX::registerClass()
Set a class to handle requests
- registerClass
- in file Server.php, method HTML_AJAX_Server::registerClass()
Register method passthrough to HTML_AJAX
- registerInitObject
- in file Server.php, method HTML_AJAX_Server::registerInitObject()
Register init methods from an external class
- registerJSLibrary
- in file Server.php, method HTML_AJAX_Server::registerJSLibrary()
Register a new js client library
- registerPhpCallback
- in file Server.php, method HTML_AJAX_Server::registerPhpCallback()
Register a callback to be exported to the client
- registerPhpCallback
- in file AJAX.php, method HTML_AJAX::registerPhpCallback()
Register a callback so it may be called from JS
- removeNode
- in file Action.php, method HTML_AJAX_Action::removeNode()
Delete a dom node via javascript
- replaceNode
- in file Action.php, method HTML_AJAX_Action::replaceNode()
Replace a dom node via javascript
- retrieveActions
- in file Action.php, method HTML_AJAX_Action::retrieveActions()
to follow proper property access we need a way to retrieve the private actions array
- Review
- in file review.class.php, class Review
- Review
- in file review.class.php, method Review::Review()
- ReviewServer
- in file auto_server.php, class ReviewServer
Class for creating an external AJAX server
top
s
- $sendContentLength
- in file AJAX.php, variable HTML_AJAX::$sendContentLength
Boolean telling if the Content-Length header should be sent.
- $serializer
- in file AJAX.php, variable HTML_AJAX::$serializer
What encoding your going to use for serializing data from php being sent to javascript.
- $serverUrl
- in file Helper.php, variable HTML_AJAX_Helper::$serverUrl
URL where an HTML_AJAX_Server instance is serving up clients and taking ajax requests
- $serverUrl
- in file AJAX.php, variable HTML_AJAX::$serverUrl
Set the server url in the generated stubs to this value
- $stubs
- in file Helper.php, variable HTML_AJAX_Helper::$stubs
Remote class stubs to include
- Server.php
- procedural page Server.php
- server.php
- procedural page server.php
- shoutbox.php
- procedural page shoutbox.php
- slow_livesearch.php
- procedural page slow_livesearch.php
- slow_server.php
- procedural page slow_server.php
- save_messages
- in file shoutbox.php, function save_messages()
- search
- in file livesearch.class.php, method livesearch::search()
Perform a search
- serialize
- in file Null.php, method HTML_AJAX_Serializer_Null::serialize()
- serialize
- in file XML.php, method HTML_AJAX_Serializer_XML::serialize()
Serializes a domdocument into an xml string
- serialize
- in file Urlencoded.php, method HTML_AJAX_Serializer_Urlencoded::serialize()
- serialize
- in file PHP.php, method HTML_AJAX_Serializer_PHP::serialize()
- serialize
- in file JSON.php, method HTML_AJAX_Serializer_JSON::serialize()
This function serializes and input passed to it.
- SERVICES_JSON_IN_ARR
- in file JSON.php, constant SERVICES_JSON_IN_ARR
Marker constant for HTML_AJAX_JSON::decode(), used to flag stack state
- SERVICES_JSON_IN_CMT
- in file JSON.php, constant SERVICES_JSON_IN_CMT
Marker constant for HTML_AJAX_JSON::decode(), used to flag stack state
- SERVICES_JSON_IN_OBJ
- in file JSON.php, constant SERVICES_JSON_IN_OBJ
Marker constant for HTML_AJAX_JSON::decode(), used to flag stack state
- SERVICES_JSON_IN_STR
- in file JSON.php, constant SERVICES_JSON_IN_STR
Marker constant for HTML_AJAX_JSON::decode(), used to flag stack state
- SERVICES_JSON_LOOSE_TYPE
- in file JSON.php, constant SERVICES_JSON_LOOSE_TYPE
Behavior switch for HTML_AJAX_JSON::decode()
- SERVICES_JSON_SLICE
- in file JSON.php, constant SERVICES_JSON_SLICE
Marker constant for HTML_AJAX_JSON::decode(), used to flag stack state
- SERVICES_JSON_SUPPRESS_ERRORS
- in file JSON.php, constant SERVICES_JSON_SUPPRESS_ERRORS
Behavior switch for HTML_AJAX_JSON::decode()
- sessionError
- in file Debug.php, method HTML_AJAX_Debug::sessionError()
This function pushes the array $_SESSION['html_ajax_debug']['time'][] with the values inside of $this->error
- setClientJsLocation
- in file Server.php, method HTML_AJAX_Server::setClientJsLocation()
Set the location of the client js
- setInterceptor
- in file AJAX.php, method HTML_AJAX::setInterceptor()
Set an interceptor class
- setJavascriptLibraryPath
- in file Server.php, method HTML_AJAX_Server::setJavascriptLibraryPath()
Set the path to a Javascript libraries
- setJavascriptLibraryPaths
- in file Server.php, method HTML_AJAX_Server::setJavascriptLibraryPaths()
Set the path to more than one Javascript libraries at once
- setSerializer
- in file Server.php, method HTML_AJAX_Server::setSerializer()
Change default serialization - important for exporting classes
- setupAJAX
- in file Helper.php, method HTML_AJAX_Helper::setupAJAX()
Include all needed libraries, stubs, and set defaultServer
- show_messages
- in file shoutbox.php, function show_messages()
- slow_echo_string
- in file test.class.php, method test::slow_echo_string()
top
t
- test.class.php
- procedural page test.class.php
- test2.class.php
- procedural page test2.class.php
- testHaa.class.php
- procedural page testHaa.class.php
- test
- in file interceptor.php, method Interceptor::test()
A class level interceptor for the test class
- test
- in file test.class.php, method test::test()
- test
- in file test.class.php, class test
Test class used in other examples Constructors and private methods marked with _ are never exported in proxies to JavaScript
- test
- in file test2.class.php, method test2::test()
- test1
- in file test.class.php, method test::test1()
- test2
- in file test2.class.php, class test2
Test class used in other examples
- test2
- in file test.class.php, method test::test2()
- test3
- in file test.class.php, method test::test3()
- testHaa
- in file testHaa.class.php, class testHaa
- TestServer
- in file slow_server.php, class TestServer
Class for creating an external AJAX server
- TestXml
- in file xml.class.php, class TestXml
Test class used in xml examples - notice we have a dom(php5) and a domxml(php4) version
- test_test1
- in file interceptor.php, method Interceptor::test_test1()
A method level interceptor for the test::test1 method
top
u
- $unserializer
- in file AJAX.php, variable HTML_AJAX::$unserializer
What encoding your going to use for unserializing data sent from javascript
- Urlencoded.php
- procedural page Urlencoded.php
- unicode_data
- in file test.class.php, method test::unicode_data()
- unserialize
- in file Urlencoded.php, method HTML_AJAX_Serializer_Urlencoded::unserialize()
- unserialize
- in file XML.php, method HTML_AJAX_Serializer_XML::unserialize()
Unserializes the xml string sent from the document
- unserialize
- in file PHP.php, method HTML_AJAX_Serializer_PHP::unserialize()
Unserializes the given string
- unserialize
- in file Null.php, method HTML_AJAX_Serializer_Null::unserialize()
- unserialize
- in file JSON.php, method HTML_AJAX_Serializer_JSON::unserialize()
this function unserializes the input passed to it.
- updateClassName
- in file testHaa.class.php, method testHaa::updateClassName()
- updateElement
- in file Helper.php, method HTML_AJAX_Helper::updateElement()
Update the contents of an element using ajax
- updateReview
- in file review.class.php, method Review::updateReview()
- updateSelect
- in file guestbook.class.php, method guestbook::updateSelect()
top
v
- validate
- in file class.login.php, method login::validate()
Checks if the passed values are correct.
top
top
top
_
- $_initLookup
- in file Server.php, variable HTML_AJAX_Server::$_initLookup
Array of className => init methods to call, generated from constructor from initClassName methods
top
Documentation generated on Mon, 11 Mar 2019 15:59:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|