Index of all elements
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ x ]
[ _ ]
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
- $contentType
- in file Response.php, variable HTML_AJAX_Response::$contentType
about
- $contentType
- in file Action.php, variable HTML_AJAX_Action::$contentType
about
- $contentTypeMap
- in file AJAX.php, variable HTML_AJAX::$contentTypeMap
Content-type map
- clearAttr
- in file Action.php, method HTML_AJAX_Action::clearAttr()
public function clearAttr()
- 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
- cookies
- in file test.class.php, method test::cookies()
- createNode
- in file Action.php, method HTML_AJAX_Action::createNode()
public function createNode()
- 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()
- 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_string
- in file test2.class.php, method test2::echo_string()
- 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 test2.class.php, method test2::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
top
top
h
- 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
- handleRequest
- in file AJAX.php, method HTML_AJAX::handleRequest()
Handle a ajax request if needed
- 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 for creating information that can be properly serialized and used by
- HTML_AJAX_Debug
- in file Debug.php, method HTML_AJAX_Debug::HTML_AJAX_Debug()
The constructor.
- HTML_AJAX_Debug
- in file Debug.php, class HTML_AJAX_Debug
AJAX Debugging implementation
- 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_Response
- in file Response.php, class HTML_AJAX_Response
Josh says we need this, I don't know why yet
- 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_Server
- in file Server.php, method HTML_AJAX_Server::HTML_AJAX_Server()
Constructor creates the HTML_AJAX instance
- HTML_AJAX_Server
- in file Server.php, class HTML_AJAX_Server
Class for creating an external AJAX server
- http_build_query
- in file Urlencoded.php, function http_build_query()
Replacement for http_build_query()
top
i
- $initMethods
- in file Server.php, variable HTML_AJAX_Server::$initMethods
Set to true if your extending the server to add init{className methods}
- $initMethods
- in file auto_server.php, variable ReviewServer::$initMethods
- $initMethods
- in file auto_server.php, variable GuestbookServer::$initMethods
- $initMethods
- in file auto_server.php, variable LoginServer::$initMethods
- $initMethods
- in file slow_server.php, variable TestServer::$initMethods
- index.php
- procedural page index.php
- index.php
- procedural page index.php
- index.php
- procedural page index.php
- index.php
- procedural page index.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()
public function insertAlert()
- insertScript
- in file Action.php, method HTML_AJAX_Action::insertScript()
public function insertScript()
- 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
- 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
- registerCallback
- in file AJAX.php, method HTML_AJAX::registerCallback()
Registers callbacks for sending headers or retriving post/get vars
- registerClass
- in file Server.php, method HTML_AJAX_Server::registerClass()
Register method passthrough to HTML_AJAX
- registerClass
- in file AJAX.php, method HTML_AJAX::registerClass()
Set a class to handle requests
- 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 AJAX.php, method HTML_AJAX::registerPhpCallback()
Register a callback so it may be called from JS
- registerPhpCallback
- in file Server.php, method HTML_AJAX_Server::registerPhpCallback()
Register a callback to be exported to the client
- removeNode
- in file Action.php, method HTML_AJAX_Action::removeNode()
public function removeNode()
- replaceNode
- in file Action.php, method HTML_AJAX_Action::replaceNode()
public function replaceNode()
- 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
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
- 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 JSON.php, method HTML_AJAX_Serializer_JSON::serialize()
This function serializes and input passed to it.
- serialize
- in file Urlencoded.php, method HTML_AJAX_Serializer_Urlencoded::serialize()
- serialize
- in file Null.php, method HTML_AJAX_Serializer_Null::serialize()
- serialize
- in file PHP.php, method HTML_AJAX_Serializer_PHP::serialize()
- 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
- 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 test2.class.php, method test2::slow_echo_string()
- 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 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
- test2
- in file test2.class.php, class test2
Test class used in other examples
- testHaa
- in file testHaa.class.php, class testHaa
- TestServer
- in file slow_server.php, class TestServer
Class for creating an external AJAX server
top
top
v
- validate
- in file class.login.php, method login::validate()
Checks if the passed values are correct.
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 14:38:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|