Subversion Repositories Applications.annuaire

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
296 aurelien 1
<html>
2
<head>
3
<title>Docs for page qrcode.php</title>
4
<link rel="stylesheet" type="text/css" href="../media/style.css">
5
</head>
6
<body>
7
 
8
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
9
  <tr>
10
    <td class="header_top">com-tecnick-tcpdf</td>
11
  </tr>
12
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
13
  <tr>
14
    <td class="header_menu">
15
 
16
 
17
                              		  [ <a href="../classtrees_com-tecnick-tcpdf.html" class="menu">class tree: com-tecnick-tcpdf</a> ]
18
		  [ <a href="../elementindex_com-tecnick-tcpdf.html" class="menu">index: com-tecnick-tcpdf</a> ]
19
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
20
    </td>
21
  </tr>
22
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
23
</table>
24
 
25
<table width="100%" border="0" cellpadding="0" cellspacing="0">
26
  <tr valign="top">
27
    <td width="200" class="menu">
28
      <b>Packages:</b><br />
29
              <a href="../li_com-tecnick-tcpdf.html">com-tecnick-tcpdf</a><br />
30
            <br /><br />
31
                        <b>Files:</b><br />
32
      	  <div class="package">
33
			<a href="../com-tecnick-tcpdf/_2dbarcodes.php.html">		2dbarcodes.php
34
		</a><br>
35
			<a href="../com-tecnick-tcpdf/_barcodes.php.html">		barcodes.php
36
		</a><br>
37
			<a href="../com-tecnick-tcpdf/_htmlcolors.php.html">		htmlcolors.php
38
		</a><br>
39
			<a href="../com-tecnick-tcpdf/_pdf417.php.html">		pdf417.php
40
		</a><br>
41
			<a href="../com-tecnick-tcpdf/_qrcode.php.html">		qrcode.php
42
		</a><br>
43
			<a href="../com-tecnick-tcpdf/_tcpdf.php.html">		tcpdf.php
44
		</a><br>
45
			<a href="../com-tecnick-tcpdf/_config---tcpdf_config.php.html">		tcpdf_config.php
46
		</a><br>
47
			<a href="../com-tecnick-tcpdf/_unicode_data.php.html">		unicode_data.php
48
		</a><br>
49
	  </div><br />
50
 
51
 
52
            <b>Classes:</b><br />
53
        <div class="package">
54
		    		<a href="../com-tecnick-tcpdf/PDF417.html">PDF417</a><br />
55
	    		<a href="../com-tecnick-tcpdf/QRcode.html">QRcode</a><br />
56
	    		<a href="../com-tecnick-tcpdf/TCPDF.html">TCPDF</a><br />
57
	    		<a href="../com-tecnick-tcpdf/TCPDF2DBarcode.html">TCPDF2DBarcode</a><br />
58
	    		<a href="../com-tecnick-tcpdf/TCPDFBarcode.html">TCPDFBarcode</a><br />
59
	    		<a href="../com-tecnick-tcpdf/TCPDF_UNICODE_DATA.html">TCPDF_UNICODE_DATA</a><br />
60
	  </div>
61
                </td>
62
    <td>
63
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
64
 
65
<h1>Procedural File: qrcode.php</h1>
66
Source Location: /qrcode.php<br /><br />
67
 
68
<br>
69
<br>
70
 
71
<div class="contents">
72
<h2>Classes:</h2>
73
<dt><a href="../com-tecnick-tcpdf/QRcode.html">QRcode</a></dt>
74
	<dd>Class to create QR-code arrays for TCPDF class.</dd>
75
</div><br /><br />
76
 
77
<h2>Page Details:</h2>
78
Class to create QR-code arrays for TCPDF class.<br /><br /><p>QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD.  The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness.  This class supports QR Code model 2, described in JIS (Japanese Industrial Standards) X0510:2004 or ISO/IEC 18004.  Currently the following features are not supported: ECI and FNC1 mode, Micro QR Code, QR Code model 1, Structured mode.</p><p>This class is derived from &quot;PHP QR Code encoder&quot; by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on &quot;libqrencode C library 3.1.1.&quot; by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html).  Please read comments on this class source file for full copyright and license information.</p><br /><br /><br />
79
<h4>Tags:</h4>
80
<div class="tags">
81
<table border="0" cellspacing="0" cellpadding="0">
82
  <tr>
83
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
84
  </tr>
85
  <tr>
86
    <td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.008</td>
87
  </tr>
88
  <tr>
89
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2010-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
90
  </tr>
91
  <tr>
92
    <td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
93
  </tr>
94
  <tr>
95
    <td><b>abstract:</b>&nbsp;&nbsp;</td><td>Class for generating QR-code array for TCPDF.</td>
96
  </tr>
97
  <tr>
98
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/copyleft/lesser.html">LGPL</a></td>
99
  </tr>
100
</table>
101
</div>
102
<br /><br />
103
<br /><br />
104
<br /><br />
105
  <hr />
106
	<a name="defineMAX_STRUCTURED_SYMBOLS"></a>
107
	<h3>MAX_STRUCTURED_SYMBOLS <span class="smalllinenumber">[line 204]</span></h3>
108
	<div class="tags">
109
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
110
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
111
		<code>MAX_STRUCTURED_SYMBOLS = 16</code>
112
    </td></tr></table>
113
    </td></tr></table>
114
 
115
    Max number of symbols for structured mode<br /><br />    <br />
116
		</div>
117
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
118
  <hr />
119
	<a name="defineN1"></a>
120
	<h3>N1 <span class="smalllinenumber">[line 213]</span></h3>
121
	<div class="tags">
122
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
123
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
124
		<code>N1 = 3</code>
125
    </td></tr></table>
126
    </td></tr></table>
127
 
128
    Down point base value for case 1 mask pattern (concatenation of same color in a line or a column)<br /><br />    <br />
129
		</div>
130
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
131
  <hr />
132
	<a name="defineN2"></a>
133
	<h3>N2 <span class="smalllinenumber">[line 218]</span></h3>
134
	<div class="tags">
135
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
136
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
137
		<code>N2 = 3</code>
138
    </td></tr></table>
139
    </td></tr></table>
140
 
141
    Down point base value for case 2 mask pattern (module block of same color)<br /><br />    <br />
142
		</div>
143
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
144
  <hr />
145
	<a name="defineN3"></a>
146
	<h3>N3 <span class="smalllinenumber">[line 223]</span></h3>
147
	<div class="tags">
148
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
149
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
150
		<code>N3 = 40</code>
151
    </td></tr></table>
152
    </td></tr></table>
153
 
154
    Down point base value for case 3 mask pattern (1:1:3:1:1(dark:bright:dark:bright:dark)pattern in a line or a column)<br /><br />    <br />
155
		</div>
156
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
157
  <hr />
158
	<a name="defineN4"></a>
159
	<h3>N4 <span class="smalllinenumber">[line 228]</span></h3>
160
	<div class="tags">
161
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
162
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
163
		<code>N4 = 10</code>
164
    </td></tr></table>
165
    </td></tr></table>
166
 
167
    Down point base value for case 4 mask pattern (ration of dark modules in whole)<br /><br />    <br />
168
		</div>
169
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
170
  <hr />
171
	<a name="defineQRCAP_EC"></a>
172
	<h3>QRCAP_EC <span class="smalllinenumber">[line 190]</span></h3>
173
	<div class="tags">
174
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
175
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
176
		<code>QRCAP_EC = 3</code>
177
    </td></tr></table>
178
    </td></tr></table>
179
 
180
    Matrix index to get error correction level from $capacity array.<br /><br />    <br />
181
		</div>
182
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
183
  <hr />
184
	<a name="defineQRCAP_REMINDER"></a>
185
	<h3>QRCAP_REMINDER <span class="smalllinenumber">[line 185]</span></h3>
186
	<div class="tags">
187
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
188
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
189
		<code>QRCAP_REMINDER = 2</code>
190
    </td></tr></table>
191
    </td></tr></table>
192
 
193
    Matrix index to get remainder from $capacity array.<br /><br />    <br />
194
		</div>
195
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
196
  <hr />
197
	<a name="defineQRCAP_WIDTH"></a>
198
	<h3>QRCAP_WIDTH <span class="smalllinenumber">[line 175]</span></h3>
199
	<div class="tags">
200
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
201
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
202
		<code>QRCAP_WIDTH = 0</code>
203
    </td></tr></table>
204
    </td></tr></table>
205
 
206
    Matrix index to get width from $capacity array.<br /><br />    <br />
207
		</div>
208
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
209
  <hr />
210
	<a name="defineQRCAP_WORDS"></a>
211
	<h3>QRCAP_WORDS <span class="smalllinenumber">[line 180]</span></h3>
212
	<div class="tags">
213
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
214
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
215
		<code>QRCAP_WORDS = 1</code>
216
    </td></tr></table>
217
    </td></tr></table>
218
 
219
    Matrix index to get number of words from $capacity array.<br /><br />    <br />
220
		</div>
221
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
222
  <hr />
223
	<a name="defineQRCODEDEFS"></a>
224
	<h3>QRCODEDEFS <span class="smalllinenumber">[line 91]</span></h3>
225
	<div class="tags">
226
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
227
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
228
		<code>QRCODEDEFS = true</code>
229
    </td></tr></table>
230
    </td></tr></table>
231
 
232
    Indicate that definitions for this class are set<br /><br />    <br />
233
		</div>
234
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
235
  <hr />
236
	<a name="defineQRSPEC_VERSION_MAX"></a>
237
	<h3>QRSPEC_VERSION_MAX <span class="smalllinenumber">[line 163]</span></h3>
238
	<div class="tags">
239
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
240
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
241
		<code>QRSPEC_VERSION_MAX = 40</code>
242
    </td></tr></table>
243
    </td></tr></table>
244
 
245
    Maximum QR Code version.<br /><br />    <br />
246
		</div>
247
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
248
  <hr />
249
	<a name="defineQRSPEC_WIDTH_MAX"></a>
250
	<h3>QRSPEC_WIDTH_MAX <span class="smalllinenumber">[line 168]</span></h3>
251
	<div class="tags">
252
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
253
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
254
		<code>QRSPEC_WIDTH_MAX = 177</code>
255
    </td></tr></table>
256
    </td></tr></table>
257
 
258
    Maximum matrix size for maximum version (version 40 is 177*177 matrix).<br /><br />    <br />
259
		</div>
260
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
261
  <hr />
262
	<a name="defineQR_DEFAULT_MASK"></a>
263
	<h3>QR_DEFAULT_MASK <span class="smalllinenumber">[line 247]</span></h3>
264
	<div class="tags">
265
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
266
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
267
		<code>QR_DEFAULT_MASK = 2</code>
268
    </td></tr></table>
269
    </td></tr></table>
270
 
271
    when QR_FIND_BEST_MASK === false<br /><br />    <br />
272
		</div>
273
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
274
  <hr />
275
	<a name="defineQR_ECLEVEL_H"></a>
276
	<h3>QR_ECLEVEL_H <span class="smalllinenumber">[line 151]</span></h3>
277
	<div class="tags">
278
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
279
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
280
		<code>QR_ECLEVEL_H = 3</code>
281
    </td></tr></table>
282
    </td></tr></table>
283
 
284
    Error correction level H : About 30% or less errors can be corrected.<br /><br />    <br />
285
		</div>
286
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
287
  <hr />
288
	<a name="defineQR_ECLEVEL_L"></a>
289
	<h3>QR_ECLEVEL_L <span class="smalllinenumber">[line 136]</span></h3>
290
	<div class="tags">
291
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
292
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
293
		<code>QR_ECLEVEL_L = 0</code>
294
    </td></tr></table>
295
    </td></tr></table>
296
 
297
    Error correction level L : About 7% or less errors can be corrected.<br /><br />    <br />
298
		</div>
299
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
300
  <hr />
301
	<a name="defineQR_ECLEVEL_M"></a>
302
	<h3>QR_ECLEVEL_M <span class="smalllinenumber">[line 141]</span></h3>
303
	<div class="tags">
304
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
305
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
306
		<code>QR_ECLEVEL_M = 1</code>
307
    </td></tr></table>
308
    </td></tr></table>
309
 
310
    Error correction level M : About 15% or less errors can be corrected.<br /><br />    <br />
311
		</div>
312
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
313
  <hr />
314
	<a name="defineQR_ECLEVEL_Q"></a>
315
	<h3>QR_ECLEVEL_Q <span class="smalllinenumber">[line 146]</span></h3>
316
	<div class="tags">
317
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
318
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
319
		<code>QR_ECLEVEL_Q = 2</code>
320
    </td></tr></table>
321
    </td></tr></table>
322
 
323
    Error correction level Q : About 25% or less errors can be corrected.<br /><br />    <br />
324
		</div>
325
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
326
  <hr />
327
	<a name="defineQR_FIND_BEST_MASK"></a>
328
	<h3>QR_FIND_BEST_MASK <span class="smalllinenumber">[line 237]</span></h3>
329
	<div class="tags">
330
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
331
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
332
		<code>QR_FIND_BEST_MASK = true</code>
333
    </td></tr></table>
334
    </td></tr></table>
335
 
336
    if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code<br /><br />    <br />
337
		</div>
338
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
339
  <hr />
340
	<a name="defineQR_FIND_FROM_RANDOM"></a>
341
	<h3>QR_FIND_FROM_RANDOM <span class="smalllinenumber">[line 242]</span></h3>
342
	<div class="tags">
343
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
344
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
345
		<code>QR_FIND_FROM_RANDOM = 2</code>
346
    </td></tr></table>
347
    </td></tr></table>
348
 
349
    if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly<br /><br />    <br />
350
		</div>
351
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
352
  <hr />
353
	<a name="defineQR_MODE_8B"></a>
354
	<h3>QR_MODE_8B <span class="smalllinenumber">[line 115]</span></h3>
355
	<div class="tags">
356
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
357
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
358
		<code>QR_MODE_8B = 2</code>
359
    </td></tr></table>
360
    </td></tr></table>
361
 
362
    Encoding mode 8bit byte data. In theory, 2953 characters or less can be stored in a QRcode.<br /><br />    <br />
363
		</div>
364
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
365
  <hr />
366
	<a name="defineQR_MODE_AN"></a>
367
	<h3>QR_MODE_AN <span class="smalllinenumber">[line 110]</span></h3>
368
	<div class="tags">
369
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
370
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
371
		<code>QR_MODE_AN = 1</code>
372
    </td></tr></table>
373
    </td></tr></table>
374
 
375
    Encoding mode alphanumeric (0-9A-Z $%*+-./:) 45characters. 2 characters are encoded to 11bit length. In theory, 4296 characters or less can be stored in a QRcode.<br /><br />    <br />
376
		</div>
377
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
378
  <hr />
379
	<a name="defineQR_MODE_KJ"></a>
380
	<h3>QR_MODE_KJ <span class="smalllinenumber">[line 120]</span></h3>
381
	<div class="tags">
382
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
383
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
384
		<code>QR_MODE_KJ = 3</code>
385
    </td></tr></table>
386
    </td></tr></table>
387
 
388
    Encoding mode KANJI. A KANJI character (multibyte character) is encoded to 13bit length. In theory, 1817 characters or less can be stored in a QRcode.<br /><br />    <br />
389
		</div>
390
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
391
  <hr />
392
	<a name="defineQR_MODE_NL"></a>
393
	<h3>QR_MODE_NL <span class="smalllinenumber">[line 100]</span></h3>
394
	<div class="tags">
395
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
396
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
397
		<code>QR_MODE_NL = -1</code>
398
    </td></tr></table>
399
    </td></tr></table>
400
 
401
    Encoding mode<br /><br />    <br />
402
		</div>
403
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
404
  <hr />
405
	<a name="defineQR_MODE_NM"></a>
406
	<h3>QR_MODE_NM <span class="smalllinenumber">[line 105]</span></h3>
407
	<div class="tags">
408
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
409
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
410
		<code>QR_MODE_NM = 0</code>
411
    </td></tr></table>
412
    </td></tr></table>
413
 
414
    Encoding mode numeric (0-9). 3 characters are encoded to 10bit length. In theory, 7089 characters or less can be stored in a QRcode.<br /><br />    <br />
415
		</div>
416
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
417
  <hr />
418
	<a name="defineQR_MODE_ST"></a>
419
	<h3>QR_MODE_ST <span class="smalllinenumber">[line 125]</span></h3>
420
	<div class="tags">
421
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
422
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
423
		<code>QR_MODE_ST = 4</code>
424
    </td></tr></table>
425
    </td></tr></table>
426
 
427
    Encoding mode STRUCTURED (currently unsupported)<br /><br />    <br />
428
		</div>
429
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
430
  <hr />
431
	<a name="defineSTRUCTURE_HEADER_BITS"></a>
432
	<h3>STRUCTURE_HEADER_BITS <span class="smalllinenumber">[line 199]</span></h3>
433
	<div class="tags">
434
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
435
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
436
		<code>STRUCTURE_HEADER_BITS = 20</code>
437
    </td></tr></table>
438
    </td></tr></table>
439
 
440
    Number of header bits for structured mode<br /><br />    <br />
441
		</div>
442
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
443
<br />
444
  <hr />
445
	<a name="functionstr_split"></a>
446
	<h3>str_split <span class="smalllinenumber">[line 265]</span></h3>
447
	<div class="function">
448
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
449
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
450
		<code>If str_split(
451
string $string, [int $split_length = 1])</code>
452
    </td></tr></table>
453
    </td></tr></table><br />
454
 
455
		Convert a string to an array (needed for PHP4 compatibility)<br /><br /><br /><br />
456
<h4>Tags:</h4>
457
<div class="tags">
458
<table border="0" cellspacing="0" cellpadding="0">
459
  <tr>
460
    <td><b>return:</b>&nbsp;&nbsp;</td><td>the optional split_length  parameter is specified, the returned array will be broken down into chunks with each being split_length  in length, otherwise each chunk will be one character in length. FALSE is returned if split_length is less than 1. If the split_length length exceeds the length of string , the entire string is returned as the first (and only) array element.</td>
461
  </tr>
462
</table>
463
</div>
464
    <br /><br />
465
 
466
    		<h4>Parameters</h4>
467
    <table border="0" cellspacing="0" cellpadding="0">
468
		      <tr>
469
        <td class="type">string&nbsp;&nbsp;</td>
470
        <td><b>$string</b>&nbsp;&nbsp;</td>
471
        <td>The input string.</td>
472
      </tr>
473
		      <tr>
474
        <td class="type">int&nbsp;&nbsp;</td>
475
        <td><b>$split_length</b>&nbsp;&nbsp;</td>
476
        <td>Maximum length of the chunk.</td>
477
      </tr>
478
				</table>
479
    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
480
	</div>
481
 
482
        <div class="credit">
483
		    <hr />
484
		    Documentation generated on Sat, 04 Dec 2010 11:25:36 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
485
	      </div>
486
      </td></tr></table>
487
    </td>
488
  </tr>
489
</table>
490
 
491
</body>
492
</html>