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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
|
<?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>
<title>Docs For Class Swift_KeyCache</title>
<link rel="stylesheet" href="../../media/stylesheet.css" />
<script src="../../media/lib/classTree.js"></script>
<link id="webfx-tab-style-sheet" type="text/css" rel="stylesheet" href="../../media/lib/tab.webfx.css" />
<script type="text/javascript" src="../../media/lib/tabpane.js"></script>
<script language="javascript" type="text/javascript" src="../../media/lib/ua.js"></script>
<script language="javascript" type="text/javascript">
var imgPlus = new Image();
var imgMinus = new Image();
imgPlus.src = "../../media/images/plus.gif";
imgMinus.src = "../../media/images/minus.gif";
function showNode(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
var oImg = document.layers["img" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
var oImg = document.all["img" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
var oImg = document.getElementById("img" + Node);
break;
}
oImg.src = imgMinus.src;
oTable.style.display = "block";
}
function hideNode(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
var oImg = document.layers["img" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
var oImg = document.all["img" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
var oImg = document.getElementById("img" + Node);
break;
}
oImg.src = imgPlus.src;
oTable.style.display = "none";
}
function nodeIsVisible(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
break;
}
return (oTable && oTable.style.display == "block");
}
function toggleNodeVisibility(Node){
if (nodeIsVisible(Node)){
hideNode(Node);
}else{
showNode(Node);
}
}
</script>
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
<body bgcolor="#ffffff" >
<!-- Start of Class Data -->
<h2>
Interface Swift_KeyCache
</h2> (line <span class="linenumber">20</span>)
<div class="tab-pane" id="tabPane1">
<script type="text/javascript">
tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ));
</script>
<div class="tab-page" id="Description">
<h2 class="tab">Description</h2>
<pre>
</pre>
<p>
<b><i>Located in File: <a href="_vendors---swiftMailer---classes---Swift---KeyCache.php.html">/vendors/swiftMailer/classes/Swift/KeyCache.php</a></i></b><br>
</p>
<!-- ========== Info from phpDoc block ========= -->
<h5>Provides a mechanism for storing data using two keys.</h5>
<ul>
<li><strong>author:</strong> - Chris Corbyn</li>
</ul>
<br /><hr />
</div>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "Description" ) );</script>
<div class="tab-page" id="tabPage1">
<h2 class="tab">Class Variables</h2>
<!-- ============ VARIABLE DETAIL =========== -->
<strong>Summary:</strong><br />
<hr />
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script>
</div>
<div class="tab-page" id="constantsTabpage">
<h2 class="tab">Class Constants</h2>
<!-- ============ VARIABLE DETAIL =========== -->
<strong>Summary:</strong><br />
<div class="const-title">
<a href="#constMODE_APPEND" title="details" class="property"><strong>MODE_APPEND</strong></a>
</div>
<div class="const-title">
<a href="#constMODE_WRITE" title="details" class="property"><strong>MODE_WRITE</strong></a>
</div>
<hr />
<a name="constMODE_APPEND" id="constMODE_APPEND"><!-- --></A>
<div style="background='#ffffff'">
<h4>
<img src="../../media/images/Constant.gif" border="0" /> <strong class="property">MODE_APPEND = 2</strong> (line <span class="linenumber">27</span>)
</h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Mode for appending data to the end of existing cached data</h5>
<ul>
</ul>
</div>
<a name="constMODE_WRITE" id="constMODE_WRITE"><!-- --></A>
<div style="background='#eeeeee'">
<h4>
<img src="../../media/images/Constant.gif" border="0" /> <strong class="property">MODE_WRITE = 1</strong> (line <span class="linenumber">24</span>)
</h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Mode for replacing existing cached data</h5>
<ul>
</ul>
</div>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "constantsTabpage" ) );</script>
</div>
<div class="tab-page" id="tabPage2">
<h2 class="tab">Method Detail</h2>
<!-- ============ METHOD DETAIL =========== -->
<strong>Summary:</strong><br />
<div class="method-summary">
<div class="method-definition">
<span class="method-result">void</span>
<a href="#methodclearAll" title="details" class="method-name">clearAll</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#methodclearKey" title="details" class="method-name">clearKey</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#methodexportToByteStream" title="details" class="method-name">exportToByteStream</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>, <span class="var-type"><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a></span> <span class="var-name">$is</span>)
</div>
<div class="method-definition">
<span class="method-result"><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a></span>
<a href="#methodgetInputByteStream" title="details" class="method-name">getInputByteStream</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>, [<span class="var-type"><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a></span> <span class="var-name">$is</span> = <span class="var-default">null</span>], <span class="var-type"><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a></span> <span class="var-name">$is,</span>)
</div>
<div class="method-definition">
<span class="method-result">string</span>
<a href="#methodgetString" title="details" class="method-name">getString</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>)
</div>
<div class="method-definition">
<span class="method-result">boolean</span>
<a href="#methodhasKey" title="details" class="method-name">hasKey</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#methodimportFromByteStream" title="details" class="method-name">importFromByteStream</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>, <span class="var-type"><a href="../../Swift/ByteStream/Swift_OutputByteStream.html">Swift_OutputByteStream</a></span> <span class="var-name">$os</span>, <span class="var-type">int</span> <span class="var-name">$mode</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#methodsetString" title="details" class="method-name">setString</a>
(<span class="var-type">string</span> <span class="var-name">$nsKey</span>, <span class="var-type">string</span> <span class="var-name">$itemKey</span>, <span class="var-type">string</span> <span class="var-name">$string</span>, <span class="var-type">int</span> <span class="var-name">$mode</span>)
</div>
</div>
<hr />
<A NAME='method_detail'></A>
<a name="methodclearAll" id="methodclearAll"><!-- --></a>
<div style="background='#ffffff'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method clearAll</strong> (line <span class="linenumber">97</span>)
</h4>
<h4><i>void</i> <strong>clearAll(
string
$nsKey)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Clear all data in the namespace $nsKey if it exists.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodclearKey" id="methodclearKey"><!-- --></a>
<div style="background='#eeeeee'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method clearKey</strong> (line <span class="linenumber">91</span>)
</h4>
<h4><i>void</i> <strong>clearKey(
string
$nsKey, string
$itemKey)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Clear data for $itemKey in the namespace $nsKey if it exists.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodexportToByteStream" id="methodexportToByteStream"><!-- --></a>
<div style="background='#ffffff'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method exportToByteStream</strong> (line <span class="linenumber">76</span>)
</h4>
<h4><i>void</i> <strong>exportToByteStream(
string
$nsKey, string
$itemKey, <a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a>
$is)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Get data back out of the cache as a ByteStream.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
<li><strong><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a> $is</strong>: to write the data to</li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodgetInputByteStream" id="methodgetInputByteStream"><!-- --></a>
<div style="background='#eeeeee'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getInputByteStream</strong> (line <span class="linenumber">59</span>)
</h4>
<h4><i><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a></i> <strong>getInputByteStream(
string
$nsKey, string
$itemKey, [<a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a>
$is = null], <a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a>
$is,)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Provides a ByteStream which when written to, writes data to $itemKey.</h5>
<div class="desc"><p>NOTE: The stream will always write in append mode. If the optional third parameter is passed all writes will go through $is.</p></div>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
<li><strong><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a> $is,</strong>: optional</li>
<li><strong><a href="../../Swift/ByteStream/Swift_InputByteStream.html">Swift_InputByteStream</a> $is</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodgetString" id="methodgetString"><!-- --></a>
<div style="background='#ffffff'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method getString</strong> (line <span class="linenumber">68</span>)
</h4>
<h4><i>string</i> <strong>getString(
string
$nsKey, string
$itemKey)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Get data back out of the cache as a string.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodhasKey" id="methodhasKey"><!-- --></a>
<div style="background='#eeeeee'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method hasKey</strong> (line <span class="linenumber">84</span>)
</h4>
<h4><i>boolean</i> <strong>hasKey(
string
$nsKey, string
$itemKey)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Check if the given $itemKey exists in the namespace $nsKey.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodimportFromByteStream" id="methodimportFromByteStream"><!-- --></a>
<div style="background='#ffffff'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method importFromByteStream</strong> (line <span class="linenumber">47</span>)
</h4>
<h4><i>void</i> <strong>importFromByteStream(
string
$nsKey, string
$itemKey, <a href="../../Swift/ByteStream/Swift_OutputByteStream.html">Swift_OutputByteStream</a>
$os, int
$mode)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Set a ByteStream into the cache under $itemKey for the namespace $nsKey.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
<li><strong><a href="../../Swift/ByteStream/Swift_OutputByteStream.html">Swift_OutputByteStream</a> $os</strong>: </li>
<li><strong>int $mode</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>see</strong> - <a href="../../Swift/KeyCache/Swift_KeyCache.html#constMODE_WRITE">Swift_KeyCache::MODE_WRITE</a>, <a href="../../Swift/KeyCache/Swift_KeyCache.html#constMODE_APPEND">Swift_KeyCache::MODE_APPEND</a></li>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodsetString" id="methodsetString"><!-- --></a>
<div style="background='#eeeeee'"><h4>
<img src="../../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method setString</strong> (line <span class="linenumber">37</span>)
</h4>
<h4><i>void</i> <strong>setString(
string
$nsKey, string
$itemKey, string
$string, int
$mode)</strong></h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Set a string into the cache under $itemKey for the namespace $nsKey.</h5>
<h4>Parameters</h4>
<ul>
<li><strong>string $nsKey</strong>: </li>
<li><strong>string $itemKey</strong>: </li>
<li><strong>string $string</strong>: </li>
<li><strong>int $mode</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>see</strong> - <a href="../../Swift/KeyCache/Swift_KeyCache.html#constMODE_WRITE">Swift_KeyCache::MODE_WRITE</a>, <a href="../../Swift/KeyCache/Swift_KeyCache.html#constMODE_APPEND">Swift_KeyCache::MODE_APPEND</a></li>
<li><strong>access</strong> - public</li>
</ul>
</div>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script>
</div>
<div class="tab-page" id="iVars">
<h2 class="tab">Inherited Variables</h2>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "iVars" ) );</script>
<!-- =========== VAR INHERITED SUMMARY =========== -->
<A NAME='var_inherited_summary'><!-- --></A>
<h3>Inherited Class Variable Summary</h3>
</div>
<div class="tab-page" id="iMethods">
<h2 class="tab">Inherited Methods</h2>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "iMethods" ) );</script>
<!-- =========== INHERITED METHOD SUMMARY =========== -->
<A NAME='functions_inherited'><!-- --></A>
<h3>Inherited Method Summary</h3>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
setupAllTabs();
//]]>
</script>
<div id="credit">
<hr />
Documentation generated on Fri, 12 Nov 2010 20:45:23 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</div>
</body>
</html>
|