1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<title>Index of sqlobject.classregistry module</title>
<link href="layout.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="page">
<h1 class="doc-title"><a></a></h1>
<div id="navcontainer">
<ul id="navlist">
<li class="pagenav">
<ul>
<li class="page_item">
<a href="index.html" title="Project Home / Index">SQLObject</a>
</li>
<li class="page_item">
<a href="module-index.html" title="sqlobject package and module reference">Modules</a>
</li>
<li>
<a href="community.html" title="Mailing List">Discuss</a>
</li>
<li>
<a href="SQLObject.html">Documentation</a>
</li>
</ul>
</li>
</ul>
</div>
<hr>
<div id="content">
<h1>Index of the <tt>classregistry</tt> module</h1>
<ul class="pudge-module-index">
<li class="module">
<span class="prefix">m</span>
<a href="module-sqlobject.classregistry.html">
<tt>sqlobject.classregistry</tt>
</a>
<a href="sqlobject/classregistry.py.html">...</a>
<small>
- <span class="rst"><dl class="docutils">
<dt>classresolver.py</dt>
<dd>2 February 2004, Ian Bicking <<a href="mailto:ianb@colorstudy.com" class="reference external">ianb@colorstudy.com</a>></dd>
</dl></span>
</small>
<ul>
<li class="attribute">
<span class="prefix">a</span>
<a href="module-sqlobject.classregistry.html#__package__">
<tt>__package__</tt>
</a>
<a href="sqlobject/classregistry.py.html">...</a>
<small></small>
</li><li class="attribute">
<span class="prefix">a</span>
<a href="module-sqlobject.classregistry.html#MasterRegistry">
<tt>MasterRegistry</tt>
</a>
<a href="sqlobject/classregistry.py.html">...</a>
<small></small>
</li>
<li class="class">
<span class="prefix">C</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html">
<tt>ClassRegistry</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=28&l=114#28">...</a>
<small>
- <span class="rst">We'll be dealing with classes that reference each other, so
class C1 may reference C2 (in a join), while C2 references
C1 right back. Since classes are created in an order, there
will be a point when C1 exists but C2 doesn't. So we deal
with classes by name, and after each class is created we
try to fix up any references by replacing the names with
actual classes.</span>
</small>
<ul>
<li class="routine">
<span class="prefix">f</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html#addClassCallback">
<tt>addClassCallback</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=52&l=64#52">...</a>
<small>
- <span class="rst">Whenever a name is substituted for the class, you can register
a callback that will be called when the needed class is
created. If it's already been created, the callback will be
called immediately.</span>
</small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html#getClass">
<tt>getClass</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=102&l=111#102">...</a>
<small></small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html#allClasses">
<tt>allClasses</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=112&l=114#112">...</a>
<small></small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html#addCallback">
<tt>addCallback</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=65&l=73#65">...</a>
<small>
- <span class="rst">This callback is called for all classes, not just specific
ones (like addClassCallback).</span>
</small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html#__init__">
<tt>__init__</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=46&l=51#46">...</a>
<small></small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="class-sqlobject.classregistry.ClassRegistry.html#addClass">
<tt>addClass</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=74&l=101#74">...</a>
<small>
- <span class="rst">Everytime a class is created, we add it to the registry, so
that other classes can find it by name. We also call any
callbacks that are waiting for the class.</span>
</small>
</li>
</ul>
</li>
<li class="routine">
<span class="prefix">f</span>
<a href="module-sqlobject.classregistry.html#registry">
<tt>registry</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=128&l=132#128">...</a>
<small></small>
</li><li class="routine">
<span class="prefix">f</span>
<a href="module-sqlobject.classregistry.html#findClass">
<tt>findClass</tt>
</a>
<a href="sqlobject/classregistry.py.html?f=137&l=139#137">...</a>
<small></small>
</li>
</ul>
</li>
</ul>
</div>
<div id="footer">
<p style="float: left;">
built with
<a href="http://lesscode.org/projects/pudge/">pudge/0.1.3</a> |
original design by
<a href="http://blog.ratterobert.com/">ratter / robert</a>
</p>
<div>
<br> <!--
<a name="search">
<form method="get" id="searchform"
action="http://lesscode.org/blog/index.php">
<div>
<input type="text" value="" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>
</a> -->
<br>
</div>
</div>
</div>
</body>
</html>
|