<?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>Docs For Class ClassLoader</title>
<link rel="stylesheet" href="../media/stylesheet.css" />
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>
<div class="page-body">
<h2 class="class-name">Class ClassLoader</h2>
<a name="sec-description"></a>
<div class="info-box">
<div class="info-box-title">Description</div>
<div class="nav-bar">
<span class="disabled">Description</span> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">ClassLoader.</p>
<p class="description"><p>Provides a way of loading only the classes required by a given file in a Java-esque 'import' type way.</p><p>Usage is as follows:</p><p><div class="src-code"><ol><li><div class="src-line"> <span class="src-id"><a href="../util/ClassLoader.html">ClassLoader</a></span><span class="src-sym">::</span><a href="../util/ClassLoader.html#methodimport">import</a><span class="src-sym">(</span><span class="src-str">'packageName.className'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></div></p></p>
<ul class="tags">
<li><span class="field">license:</span> <a href="http://www.opensource.org/licenses/bsd-license.php">BSD License</a></li>
<li><span class="field">copyright:</span> Alex Potsides, <a href="http://www.achingbrain.net">http://www.achingbrain.net</a></li>
<li><span class="field">author:</span> Alex Potsides, <a href="http://www.achingbrain.net">http://www.achingbrain.net</a></li>
<li><span class="field">version:</span> 0.1</li>
</ul>
<p class="notes">
Located in <a class="field" href="_ClassLoader.class.php.html">/ClassLoader.class.php</a> (line <span class="field">24</span>)
</p>
<pre></pre>
</div>
</div>
<a name="sec-method-summary"></a>
<div class="info-box">
<div class="info-box-title">Method Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<div class="method-summary">
<div class="method-definition">
static <span class="method-result">int</span>
<a href="#getClassesLoaded" title="details" class="method-name">getClassesLoaded</a>
()
</div>
<div class="method-definition">
static <span class="method-result">int</span>
<a href="#getLoadAttempts" title="details" class="method-name">getLoadAttempts</a>
()
</div>
<div class="method-definition">
static <span class="method-result">void</span>
<a href="#import" title="details" class="method-name">import</a>
(<span class="var-type">mixed</span> <span class="var-name">$className</span>)
</div>
</div>
</div>
</div>
<a name="sec-methods"></a>
<div class="info-box">
<div class="info-box-title">Methods</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
</div>
<div class="info-box-body">
<A NAME='method_detail'></A>
<a name="methodgetClassesLoaded" id="getClassesLoaded"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method getClassesLoaded</span> (line <span class="line-number">76</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of classes that have been loaded</p>
<ul class="tags">
<li><span class="field">return:</span> The number of classes that have been loaded</li>
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
static
<span class="method-result">int</span>
<span class="method-name">
getClassesLoaded
</span>
()
</div>
</div>
<a name="methodgetLoadAttempts" id="getLoadAttempts"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method getLoadAttempts</span> (line <span class="line-number">86</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of times classes have been loaded</p>
<ul class="tags">
<li><span class="field">return:</span> The number of times classes have been loaded</li>
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
static
<span class="method-result">int</span>
<span class="method-name">
getLoadAttempts
</span>
()
</div>
</div>
<a name="methodimport" id="import"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method import</span> (line <span class="line-number">44</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads a class or package</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
static
<span class="method-result">void</span>
<span class="method-name">
import
</span>
(<span class="var-type">mixed</span> <span class="var-name">$className</span>)
</div>
</div>
</div>
</div>
<p class="notes" id="credit">
Documentation generated on Tue, 17 Oct 2006 22:03:21 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC6</a>
</p>
</div></body>
</html>