Full index

Package indexes


a b c d e f g h i l m n p r s t u w
a
top
Function addinputs
addinputs() in util.php
Store the clients inputs into the database.
Function addthats
addthats() in util.php
Store the bots responses into the database
Function addtostar
addtostar() in graphnew.php
Deals with creating and adding to the star arrays
Function addtosubs
addtosubs() in botloaderfuncs.php
Write the substitution include file
Function arraytostring
arraytostring() in graphnew.php
Turn an array into a string
b
top
Page botloaderfuncs.php
botloaderfuncs.php in botloaderfuncs.php
Page botloaderinc.php
botloaderinc.php in botloaderinc.php
Page botloader.php
botloader.php in botloader.php
Function bget
bget() in util.php
Get a value for some variable set by the user in AIML.
Function botexists
botexists() in botloaderfuncs.php
Checks if a bot already exists.
Function botget
botget() in util.php
Get information about the bot that was entered in the startup.xml
Function bset
bset() in util.php
Set the value for an AIML variable
c
top
Constant CACHE_CONTROL
CACHE_CONTROL in dbprefs.php
wether or not to use the resonse caching mechanism. 1=yes, 0=no
Function checkcache
checkcache() in graphnew.php
Check to see if exact input-that-topic exists in cache
Function cleanforreplace
cleanforreplace() in botloaderfuncs.php
Add slashes for replacement purposes
Function cleanforsearch
cleanforsearch() in botloaderfuncs.php
Add slashes for database query purpose
Function cleanup
cleanup() in util.php
This function will clean up old data in the database that is not needed according to user defined settings.
Function createsubfile
createsubfile() in botloaderfuncs.php
Create the object for writing the substitution include file
Page customtags.php
customtags.php in customtags.php
d
top
Page dbprefs.php
dbprefs.php in dbprefs.php
Function debugger
debugger() in graphnew.php
The debugger function
Constant DEFAULTPREDICATEVALUE
DEFAULTPREDICATEVALUE in dbprefs.php
standard value when a user predicate hasn't been set.
Function deletebot
deletebot() in botloaderfuncs.php
Deletes everything about a bot.
Function deletejustbot
deletejustbot() in botloaderfuncs.php
Deletes information about a bot in the cache and bot tables.
Function dographquery
dographquery() in graphnew.php
Does a database query for graphwalker()
e
top
Variable $errors
Response::$errors in util.php
Function endElement
endElement() in botloaderfuncs.php
Used by the AIML XML parser
Function endS
endS() in botloaderfuncs.php
Called by the XML parser that is parsing the startup.xml file.
f
top
Function fastforward
fastforward() in graphnew.php
Fast forward to the processing of the next context
Function fillcache
fillcache() in graphnew.php
Add an entry in the GMcache table
Function findtemplate
findtemplate() in graphnew.php
Retrieve the template from the templates table
Function findwordid
findwordid() in botloaderfuncs.php
Find a word in the patterns table given the word and the parent.
Function findwordidstar
findwordidstar() in botloaderfuncs.php
Find a wildcard in the patterns table given the word and the parent.
Function firstsecond
firstsecond() in util.php
Do a first to second person replacement
Function firstthird
firstthird() in util.php
Do a first to third person replacement
Page flash.php
flash.php in flash.php
Function flushcache
flushcache() in botloaderfuncs.php
Deletes the gmcache table.
g
top
Function gender
gender() in util.php
Reverse the gender of a phrase
Function getbotid
getbotid() in botloaderfuncs.php
Gets the ID of a bot given its name.
Function getbotvalue
getbotvalue() in botloaderfuncs.php
Gets a bot's property value.
Function GetChildren
GetChildren() in util.php
Get the child nodes of the XML tree
Function getfdate
getfdate() in util.php
get the current date formatted.
Function getid
getid() in util.php
Get the ID, or IP of the user
Function getinput
getinput() in util.php
Get the previous thing the client said
Function getsize
getsize() in util.php
Gets the numer of AIML categories stored in the database
Function gettemplate
gettemplate() in graphnew.php
Get the template for the input, that, and topic
Function getthat
getthat() in util.php
Get the previous thing the bot said
Function GetXMLTree
GetXMLTree() in util.php
Get an XML tree
Page graphnew.php
graphnew.php in graphnew.php
Function graphwalker
graphwalker() in graphnew.php
The graphwalker function finds the pattern that matches the combined input of input, that, and topic.
h
top
Function handleme
handleme() in botloaderfuncs.php
Part of the AIML XML parser.
Function handlemeS
handlemeS() in botloaderfuncs.php
Process contents <learn> tag in startup.xml
Function handlenode
handlenode() in respond.php
Handles the actual XML between the <template/> tags.
i
top
Variable $inputs
Response::$inputs in util.php
Function insertgossip
insertgossip() in util.php
Insert gossip into the database
Function insertmysentence
insertmysentence() in botloaderfuncs.php
Inserts the pattern into the patterns table.
Function insertmytemplate
insertmytemplate() in botloaderfuncs.php
Inserts a template into the template table.
Function insertwordpattern
insertwordpattern() in botloaderfuncs.php
Inserts an entry into the patterns table. Returns the ID of the new row inserted.
Function iscustomtag
iscustomtag() in util.php
Check to see if a tag is a custom tag.
Function isdeprecated
isdeprecated() in util.php
Check if a tag is an old style AIML tag.
l
top
Function learn
learn() in botloaderfuncs.php
Learn an AIML file.
Function learnallfiles
learnallfiles() in botloaderfuncs.php
Learn all the files in a directory ending with ".aiml"
Function learnstring
learnstring() in botloaderfuncs.php
Learn the AIML string.
Function loadaimlcategory
loadaimlcategory() in botloaderfuncs.php
Load an AIML string that is just a category.
Function loadaimlstring
loadaimlstring() in botloaderfuncs.php
Load an AIML string. String must be valid XML.
Function loadcustomtags
loadcustomtags() in util.php
Load all custom tags
Function loadstartup
loadstartup() in botloaderfuncs.php
Parses startup.xml
Function loadstartupinc
loadstartupinc() in botloaderfuncs.php
Parses startup.xml if the bot is loaded incrementally - one file at a time.
Function logconversation
logconversation() in util.php
Logs the whole input and response
Function lookupbotid
lookupbotid() in util.php
Look up the bot's ID number
Constant LOOPINGERRORMSG
LOOPINGERRORMSG in dbprefs.php
The errormessage when a loop is detected.
Constant LOOPINGLIMIT
LOOPINGLIMIT in dbprefs.php
The number of times a loop may occur before the error is thrown. -1 equals to no limit.
m
top
Function makesplitterphp
makesplitterphp() in botloaderfuncs.php
Create the array PHP code for the sentence splitters
Function makesrphp
makesrphp() in botloaderfuncs.php
Creates the PHP array code for subs.inc.
Function makesubscode
makesubscode() in botloaderfuncs.php
Creates the subs.inc file.
Function make_seed
make_seed() in util.php
Create a random number based upon the present time.
Constant MINUTESTOKEEPCHATLOG
MINUTESTOKEEPCHATLOG in dbprefs.php
Minutes to keep the chatlot, standard set to -1, meaning forever.
Constant MINUTESTOKEEPDATA
MINUTESTOKEEPDATA in dbprefs.php
the amount of minutes certain data needs to be kept.
Function myfunc
myfunc() in util.php
Substitution routine
n
top
Function normalsentences
normalsentences() in util.php
Take the user input and do all substitutions and split it into sentences
p
top
Variable $patternsmatched
Constant PROGRAMEVERSION
PROGRAMEVERSION in dbprefs.php
version number of the application.
r
top
Variable $response
Constant RANDOMCHANCECLEAN
RANDOMCHANCECLEAN in dbprefs.php
Has something to do with the random generator
Function realchild
realchild() in respond.php
Get the real XML child
Function recursechildren
recursechildren() in respond.php
Third level response processing
Function reply
reply() in respond.php
Main container function in creating the bot's reply.
Function replybotname
replybotname() in respond.php
Start function for retrieving bot reply
Function respond
respond() in respond.php
This is the second level response function.
Page respond.php
respond.php in respond.php
Class Response
Response in util.php
Class to hold the reponse
s
top
Function setnotend
setnotend() in botloaderfuncs.php
Set an entry in the patterns table to not be flagged as the last word in its context.
Function ss_timing_current
Retrieve timer data
Function ss_timing_current
ss_timing_current() in botloaderfuncs.php
Retrieve timer data
Function ss_timing_start
ss_timing_start() in botloaderfuncs.php
Start a timer
Function ss_timing_start
ss_timing_start() in util.php
Start a timer
Function ss_timing_stop
ss_timing_stop() in botloaderfuncs.php
Stop a timer
Function ss_timing_stop
ss_timing_stop() in util.php
Stop a timer
Function startElement
startElement() in botloaderfuncs.php
Used by the AIML XML parser
Function startS
startS() in botloaderfuncs.php
Called by the XML parser that is parsing the startup.xml file.
t
top
Variable $timer
Response::$timer in util.php
Page talk.php
talk.php in talk.php
Function templateexists
templateexists() in botloaderfuncs.php
Checks if a template exists for a given pattern
Page tester.php
tester.php in tester.php
u
top
Function upperkeysarray
upperkeysarray() in botloaderfuncs.php
Makes the keys of an array uppercase.
Function upperkeysarray
upperkeysarray() in util.php
Change the case of the keys of an array to all uppercase
Page util.php
util.php in util.php
w
top
Function whichbots
whichbots() in util.php
Which bot is selected
a b c d e f g h i l m n p r s t u w