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

Element index for package AJAX

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ j ] [ l ] [ m ] [ n ] [ o ] [ p ] [ q ] [ r ] [ s ] [ t ] [ u ] [ v ] [ w ] [ x ] [ _ ]

_

$_initLookup
in file Server.php, variable HTML_AJAX_Server::$_initLookup
    Array of className => init methods to call, generated from constructor from initClassName methods
top

a

$ajax
in file Server.php, variable HTML_AJAX_Server::$ajax
    HTML_AJAX instance
addAllowedClasses
in file AJAX.php, method HTML_AJAX::addAllowedClasses()
    Add a class or classes to those allowed to be unserialized
Action.php
procedural page Action.php
AJAX.php
procedural page AJAX.php
action_usage.php
procedural page action_usage.php
auto_server.php
procedural page auto_server.php
auto_server.php
procedural page auto_server.php
auto_server.php
procedural page auto_server.php
auto_server.php
procedural page auto_server.php
appendAttr
in file Action.php, method HTML_AJAX_Action::appendAttr()
    Appends data to the attribute identified by id
assignAttr
in file Action.php, method HTML_AJAX_Action::assignAttr()
    Assigns data to the attribute identified by id overwriting any previous values
top

b

bugfixes.php
procedural page bugfixes.php
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
$contentTypeMap
in file AJAX.php, variable HTML_AJAX::$contentTypeMap
    Content-type map
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()
createHealthy
in file xml.class.php, method TestXml::createHealthy()
createJunk
in file xml.class.php, method TestXml::createJunk()
class.login.php
procedural page class.login.php
$contentType
in file Response.php, variable HTML_AJAX_Response::$contentType
    The base response class uses plain text so use that content type
$contentType
in file Action.php, variable HTML_AJAX_Action::$contentType
    Content type for the HAA response
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()
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
createNode
in file Action.php, method HTML_AJAX_Action::createNode()
    create a dom node via javascript
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.
dump
in file test.class.php, method test::dump()
deleteEntry
in file guestbook.class.php, method guestbook::deleteEntry()
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()
encloseInScript
in file Helper.php, method HTML_AJAX_Helper::encloseInScript()
    Enclose a string in a script block
error_test
in file test.class.php, method test::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
editEntry
in file guestbook.class.php, method guestbook::editEntry()
error_test
in file error_usage.php, method error_test::error_test()
error_test
in file error_usage.php, class error_test
top

f

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
grab.php
procedural page grab.php
guestbook.class.php
procedural page guestbook.class.php
getContentType
in file Response.php, method HTML_AJAX_Response::getContentType()
    Returns the appropriate content type
getPayload
in file Action.php, method HTML_AJAX_Action::getPayload()
    Returns the serialized content of the response class
getPayload
in file Response.php, method HTML_AJAX_Response::getPayload()
    Returns the serialized content of the response class
guestbook
in file guestbook.class.php, class guestbook
guestbook
in file guestbook.class.php, method guestbook::guestbook()
GuestbookServer
in file auto_server.php, class GuestbookServer
    Class for creating an external AJAX server
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_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, 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_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, class HTML_AJAX_Serializer_JSON
    JSON Serializer
HTML_AJAX_Serializer_JSON
in file JSON.php, method HTML_AJAX_Serializer_JSON::HTML_AJAX_Serializer_JSON()
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()
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_Response
in file Response.php, class HTML_AJAX_Response
    Simple base class for a response object to use as an ajax callback
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}
index.php
procedural page index.php
interceptors.php
procedural page interceptors.php
interceptorServer.php
procedural page interceptorServer.php
index.php
procedural page index.php
isAJAX
in file Helper.php, method HTML_AJAX_Helper::isAJAX()
    Check the request headers to see if this is an AJAX request
$initMethods
in file auto_server.php, variable TestServer::$initMethods
$initMethods
in file auto_server.php, variable GuestbookServer::$initMethods
$initMethods
in file auto_server.php, variable LoginServer::$initMethods
$initMethods
in file auto_server.php, variable ReviewServer::$initMethods
initGuestbook
in file auto_server.php, method GuestbookServer::initGuestbook()
initLivesearch
in file auto_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 auto_server.php, method TestServer::initTest()
initTest2
in file auto_server.php, method initObject::initTest2()
initTestHaa
in file auto_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
top

j

$javascriptLibraries
in file Server.php, variable HTML_AJAX_Server::$javascriptLibraries
    Javascript library names and there path
$javascriptLibraryPaths
in file Server.php, variable HTML_AJAX_Server::$javascriptLibraryPaths
    Custom paths to use for javascript libraries, if not set clientJsLocation is used to find the system path
$jsLibraries
in file Helper.php, variable HTML_AJAX_Helper::$jsLibraries
    JS libraries to include
$jsonLooseType
in file AJAX.php, variable HTML_AJAX::$jsonLooseType
    Option to use loose typing for JSON encoding
JSON.php
procedural page JSON.php
jsonEncode
in file Helper.php, method HTML_AJAX_Helper::jsonEncode()
    Generate a JSON String
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, method login::login()
    PHP5 requires a constructor
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
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

n

Null.php
procedural page Null.php
newEntry
in file guestbook.class.php, method guestbook::newEntry()
top

o

$options
in file Server.php, variable HTML_AJAX_Server::$options
    Client options array if set to true the code looks at _GET
top

p

$packJavaScript
in file AJAX.php, variable HTML_AJAX::$packJavaScript
    Automatically pack all generated JavaScript making it smaller
$php4CompatCase
in file AJAX.php, variable HTML_AJAX::$php4CompatCase
    Make Generated code compatible with php4 by lowercasing all class/method names before exporting to JavaScript.
PHP.php
procedural page PHP.php
proxyless_usage.php
procedural page proxyless_usage.php
proxy_usage_inline_javascript.php
procedural page proxy_usage_inline_javascript.php
proxy_usage_server.php
procedural page proxy_usage_server.php
packJavaScript
in file AJAX.php, method HTML_AJAX::packJavaScript()
    Make JavaScript code smaller
$payload
in file Response.php, variable HTML_AJAX_Response::$payload
    Assign a string to this variable to use the bare response class
prependAttr
in file Action.php, method HTML_AJAX_Action::prependAttr()
    Prepends data to the attribute identified by id
top

q

queue_usage.php
procedural page queue_usage.php
top

r

Response.php
procedural page Response.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
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 XML.php, method HTML_AJAX_Serializer_XML::serialize()
    Serializes a domdocument into an xml string
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.
serialize
in file Null.php, method HTML_AJAX_Serializer_Null::serialize()
serialize
in file Urlencoded.php, method HTML_AJAX_Serializer_Urlencoded::serialize()
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
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()
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
TestServer
in file auto_server.php, class TestServer
    Class for creating an external AJAX server
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.
updateElement
in file Helper.php, method HTML_AJAX_Helper::updateElement()
    Update the contents of an element using ajax
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

w

writeDoc
in file xml.class.php, method TestXml::writeDoc()
top

x

XML.php
procedural page XML.php
xml.class.php
procedural page xml.class.php
xml_usage.php
procedural page xml_usage.php
xmlError
in file Debug.php, method HTML_AJAX_Debug::xmlError()
    This functions formats the error to xml format then we can save it.
top

Documentation generated on Tue, 28 Oct 2014 23:00:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.