Location: PHPKode > projects > Program E > docs/developer/elementindex_Loader.html
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title></title>
			<link rel="stylesheet" href="media/stylesheet.css" />
											</head>
		<body>
						
<a name="top"></a>
<h2>[Loader] element index</h2>
	<h3>Package indexes</h3>
	<ul>
						<li><a href="elementindex_Settings.html">Settings</a></li>
					<li><a href="elementindex_Interpreter.html">Interpreter</a></li>
			</ul>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_Loader.html#a">a</a>
	<a class="index-letter" href="elementindex_Loader.html#b">b</a>
	<a class="index-letter" href="elementindex_Loader.html#c">c</a>
	<a class="index-letter" href="elementindex_Loader.html#d">d</a>
	<a class="index-letter" href="elementindex_Loader.html#e">e</a>
	<a class="index-letter" href="elementindex_Loader.html#f">f</a>
	<a class="index-letter" href="elementindex_Loader.html#g">g</a>
	<a class="index-letter" href="elementindex_Loader.html#h">h</a>
	<a class="index-letter" href="elementindex_Loader.html#i">i</a>
	<a class="index-letter" href="elementindex_Loader.html#l">l</a>
	<a class="index-letter" href="elementindex_Loader.html#m">m</a>
	<a class="index-letter" href="elementindex_Loader.html#s">s</a>
	<a class="index-letter" href="elementindex_Loader.html#t">t</a>
	<a class="index-letter" href="elementindex_Loader.html#u">u</a>
</div>

	<a name="a"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">a</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">addtosubs</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionaddtosubs">addtosubs()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Write the substitution include file</div>
					</dd>
		</dl>
	<a name="b"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">b</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Page.png" alt="Page" title="Page" /></title>
			<span class="include-title">botloaderfuncs.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html">botloaderfuncs.php</a> in botloaderfuncs.php</div>
					</dd>
			<dt class="field">
						<img src="media/images/Page.png" alt="Page" title="Page" /></title>
			<span class="include-title">botloaderinc.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderinc_php.html">botloaderinc.php</a> in botloaderinc.php</div>
					</dd>
			<dt class="field">
						<img src="media/images/Page.png" alt="Page" title="Page" /></title>
			<span class="include-title">botloader.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloader_php.html">botloader.php</a> in botloader.php</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">botexists</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionbotexists">botexists()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Checks if a bot already exists.</div>
					</dd>
		</dl>
	<a name="c"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">c</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">cleanforreplace</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functioncleanforreplace">cleanforreplace()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Add slashes for replacement purposes</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">cleanforsearch</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functioncleanforsearch">cleanforsearch()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Add slashes for database query purpose</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">createsubfile</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functioncreatesubfile">createsubfile()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Create the object for writing the substitution include file</div>
					</dd>
		</dl>
	<a name="d"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">d</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">deletebot</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functiondeletebot">deletebot()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Deletes everything about a bot.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">deletejustbot</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functiondeletejustbot">deletejustbot()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Deletes information about a bot in the cache and bot tables.</div>
					</dd>
		</dl>
	<a name="e"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">e</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">endElement</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionendElement">endElement()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Used by the AIML XML parser</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">endS</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionendS">endS()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Called by the XML parser that is parsing the startup.xml file.</div>
					</dd>
		</dl>
	<a name="f"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">f</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">findwordid</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionfindwordid">findwordid()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Find a word in the patterns table given the word and the parent.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">findwordidstar</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionfindwordidstar">findwordidstar()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Find a wildcard in the patterns table given the word and the parent.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">flushcache</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionflushcache">flushcache()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Deletes the gmcache table.</div>
					</dd>
		</dl>
	<a name="g"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">g</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">getbotid</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functiongetbotid">getbotid()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Gets the ID of a bot given its name.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">getbotvalue</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functiongetbotvalue">getbotvalue()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Gets a bot's property value.</div>
					</dd>
		</dl>
	<a name="h"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">h</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">handleme</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionhandleme">handleme()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Part of the AIML XML parser.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">handlemeS</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionhandlemeS">handlemeS()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Process contents &lt;learn&gt; tag in startup.xml</div>
					</dd>
		</dl>
	<a name="i"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">i</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">insertmysentence</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functioninsertmysentence">insertmysentence()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Inserts the pattern into the patterns table.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">insertmytemplate</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functioninsertmytemplate">insertmytemplate()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Inserts a template into the template table.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">insertwordpattern</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functioninsertwordpattern">insertwordpattern()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Inserts an entry into the patterns table. Returns the ID of the new row inserted.</div>
					</dd>
		</dl>
	<a name="l"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">l</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">learn</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionlearn">learn()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Learn an AIML file.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">learnallfiles</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionlearnallfiles">learnallfiles()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Learn all the files in a directory ending with &quot;.aiml&quot;</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">learnstring</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionlearnstring">learnstring()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Learn the AIML string.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">loadaimlcategory</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionloadaimlcategory">loadaimlcategory()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Load an AIML string that is just a category.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">loadaimlstring</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionloadaimlstring">loadaimlstring()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Load an AIML string. String must be valid XML.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">loadstartup</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionloadstartup">loadstartup()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Parses startup.xml</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">loadstartupinc</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionloadstartupinc">loadstartupinc()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Parses startup.xml if the bot is loaded incrementally - one file at a time.</div>
					</dd>
		</dl>
	<a name="m"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">m</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">makesplitterphp</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionmakesplitterphp">makesplitterphp()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Create the array PHP code for the sentence splitters</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">makesrphp</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionmakesrphp">makesrphp()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Creates the PHP array code for subs.inc.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">makesubscode</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionmakesubscode">makesubscode()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Creates the subs.inc file.</div>
					</dd>
		</dl>
	<a name="s"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">s</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">setnotend</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionsetnotend">setnotend()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Set an entry in the patterns table to not be flagged as the last word in its context.</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">ss_timing_current</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionss_timing_current">ss_timing_current()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Retrieve timer data</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">ss_timing_start</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionss_timing_start">ss_timing_start()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Start a timer</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">ss_timing_stop</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionss_timing_stop">ss_timing_stop()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Stop a timer</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">startElement</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionstartElement">startElement()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Used by the AIML XML parser</div>
					</dd>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">startS</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionstartS">startS()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Called by the XML parser that is parsing the startup.xml file.</div>
					</dd>
		</dl>
	<a name="t"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">t</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">templateexists</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functiontemplateexists">templateexists()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Checks if a template exists for a given pattern</div>
					</dd>
		</dl>
	<a name="u"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">u</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<img src="media/images/Function.png" alt="Function" title="Function" /></title>
			<span class="method-title">upperkeysarray</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Loader/_admin_botloaderfuncs_php.html#functionupperkeysarray">upperkeysarray()</a> in botloaderfuncs.php</div>
							<div class="index-item-description">Makes the keys of an array uppercase.</div>
					</dd>
		</dl>

<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_Loader.html#a">a</a>
	<a class="index-letter" href="elementindex_Loader.html#b">b</a>
	<a class="index-letter" href="elementindex_Loader.html#c">c</a>
	<a class="index-letter" href="elementindex_Loader.html#d">d</a>
	<a class="index-letter" href="elementindex_Loader.html#e">e</a>
	<a class="index-letter" href="elementindex_Loader.html#f">f</a>
	<a class="index-letter" href="elementindex_Loader.html#g">g</a>
	<a class="index-letter" href="elementindex_Loader.html#h">h</a>
	<a class="index-letter" href="elementindex_Loader.html#i">i</a>
	<a class="index-letter" href="elementindex_Loader.html#l">l</a>
	<a class="index-letter" href="elementindex_Loader.html#m">m</a>
	<a class="index-letter" href="elementindex_Loader.html#s">s</a>
	<a class="index-letter" href="elementindex_Loader.html#t">t</a>
	<a class="index-letter" href="elementindex_Loader.html#u">u</a>
</div>
	</body>
</html>
Return current item: Program E