73a8aa1e84e81815e16acded81de45c69396d7a5
[awesomized/ext-ion] / docs / v0.0 / ion / Writer / Options / __construct.html
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>
6 Options::__construct -
7 mdref
8 </title>
9 <meta name="viewport" content="width=1200, initial-scale=0.5">
10 <base href="/v0.0/">
11 <meta http-equiv="Content-Location" content="/v0.0/ion/Writer/Options/__construct">
12 <link rel="stylesheet" href="index.css">
13
14 <link href="https://fonts.googleapis.com/css?family=Inconsolata&amp;subset=latin-ext" rel="stylesheet">
15 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
16 <link rel="shortcut icon" href="/v0.0/favicon.ico">
17 </head>
18 <body>
19 <div class="page">
20
21 <div class="sidebar">
22
23 <div class="edit">
24 <a href="./ion/Writer/Options/__construct">Edit</a>
25 </div>
26
27
28 <ul>
29 <li>&lsh; <a href="./">Home</a>
30
31 <ul>
32 <li>
33
34 &uarr; <a href="./ion">
35 ion
36 </a>
37 <ul>
38 <li>
39
40 &uarr; <a href="./ion/Writer">
41 Writer
42 </a>
43 <ul>
44 <li>
45
46 &uarr; <a href="./ion/Writer/Options">
47 Options
48 </a>
49 <ul>
50 <li>
51
52 &circlearrowright; <strong><a href="./ion/Writer/Options/__construct">Options::__construct</a></strong>
53
54
55
56 </ul>
57
58 </ul>
59
60 </li>
61
62 </ul>
63
64 </li>
65 </ul>
66
67 </li>
68 </ul>
69 </div>
70
71 <h1>void ion\Writer\Options::__construct([?ion\Catalog $catalog = NULL, [?ion\Decimal\Context $decimalContext = NULL, [bool $outputBinary = false, [bool $compactFloats = false, [bool $escapeNonAscii = false, [bool $prettyPrint = false, [bool $indentTabs = true, [int $indentSize = 2, [bool $flushEveryValue = false, [int $maxContainerDepth = 10, [int $maxAnnotations = 10, [int $tempBufferSize = 16384]]]]]]]]]]]])</h1>
72 <p>Create custom ION writer options.</p>
73 <h2>Params:<a id="Params:" href="#Params:" class="permalink" aria-hidden="true" title="">#</a></h2>
74 <ul>
75 <li>Optional ?ion\Catalog $catalog = NULL<br />
76 ION catalog to use for symbol lookup.</li>
77 <li>Optional ?ion\Decimal\Context $decimalContext = NULL<br />
78 Decimal context to use.</li>
79 <li>Optional bool $outputBinary = false<br />
80 Whether to output binary ION.</li>
81 <li>Optional bool $compactFloats = false<br />
82 Whether to write doubles which fit in 32 bits as floats.</li>
83 <li>Optional bool $escapeNonAscii = false<br />
84 Whether to slash-escape all non ASCII bytes.</li>
85 <li>Optional bool $prettyPrint = false<br />
86 Whether to produce pretty-printed output.</li>
87 <li>Optional bool $indentTabs = true<br />
88 Whether to indent with tabs, when pretty-printing.</li>
89 <li>Optional int $indentSize = 2<br />
90 The number of spaces to use for indentation instead of tabs, when pretty-printing.</li>
91 <li>Optional bool $flushEveryValue = false<br />
92 Whether to immediately flush every value written.</li>
93 <li>Optional int $maxContainerDepth = 10<br />
94 Maximum depth of nested containers.</li>
95 <li>Optional int $maxAnnotations = 10<br />
96 The maximum number of annotations allowed on a single value.</li>
97 <li>Optional int $tempBufferSize = 16384<br />
98 Temporary buffer size.</li>
99 </ul>
100
101
102
103
104 <div id="disqus_thread"><button id="disqus_activator">Show <span> </span> Comment(s)</button></div>
105 <script>
106 var disqus_shortname = 'mdref';
107 var disqus_identifier = 'ion/Writer/Options/__construct';
108 </script>
109
110 <footer>
111
112 <ul>
113 <li><a href="https://github.com/m6w6/mdref">mdref-v2.0
114 </a></li>
115 <li><a href="LICENSE">&copy; 2013-2022 All rights reserved.</a></li>
116 <li>
117 </li>
118 </ul>
119
120 </footer>
121
122 <script src="index.js"></script>
123
124 </div>
125 </body>
126 </html>