reference/runkit7/constants.xml
86e6094e86b84a51d00ab217ac50ce8dde33d82a
...
...
@@ -0,0 +1,213 @@
1
+
<?xml version="1.0" encoding="utf-8"?>
2
+
<!-- $Revision$ -->
3
+

4
+
<appendix xml:id="runkit7.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
+
&reftitle.constants;
6
+
&extension.constants;
7
+
<para>
8
+
<variablelist>
9
+
<varlistentry xml:id="constant.runkit7-import-functions">
10
+
<term>
11
+
<constant>RUNKIT7_IMPORT_FUNCTIONS</constant>
12
+
(<type>int</type>)
13
+
</term>
14
+
<listitem>
15
+
<simpara>
16
+
<function>runkit7_import</function> flag indicating
17
+
that normal functions should be imported from the
18
+
specified file.
19
+
</simpara>
20
+
</listitem>
21
+
</varlistentry>
22
+
<varlistentry xml:id="constant.runkit7-import-class-methods">
23
+
<term>
24
+
<constant>RUNKIT7_IMPORT_CLASS_METHODS</constant>
25
+
(<type>int</type>)
26
+
</term>
27
+
<listitem>
28
+
<simpara>
29
+
<function>runkit7_import</function> flag indicating
30
+
that class methods should be imported from the
31
+
specified file.
32
+
</simpara>
33
+
</listitem>
34
+
</varlistentry>
35
+
<varlistentry xml:id="constant.runkit7-import-class-consts">
36
+
<term>
37
+
<constant>RUNKIT7_IMPORT_CLASS_CONSTS</constant>
38
+
(<type>int</type>)
39
+
</term>
40
+
<listitem>
41
+
<simpara>
42
+
<function>runkit7_import</function> flag indicating
43
+
that class constants should be imported from the
44
+
specified file.
45
+
</simpara>
46
+
</listitem>
47
+
</varlistentry>
48
+
<varlistentry xml:id="constant.runkit7-import-class-props">
49
+
<term>
50
+
<constant>RUNKIT7_IMPORT_CLASS_PROPS</constant>
51
+
(<type>int</type>)
52
+
</term>
53
+
<listitem>
54
+
<simpara>
55
+
<function>runkit7_import</function> flag indicating
56
+
that class standard properties should be imported
57
+
from the specified file.
58
+
</simpara>
59
+
</listitem>
60
+
</varlistentry>
61
+
<varlistentry xml:id="constant.runkit7-import-class-static-props">
62
+
<term>
63
+
<constant>RUNKIT7_IMPORT_CLASS_STATIC_PROPS</constant>
64
+
(<type>int</type>)
65
+
</term>
66
+
<listitem>
67
+
<simpara>
68
+
<function>runkit7_import</function> flag indicating
69
+
that class static properties should be imported
70
+
from the specified file. Available since Runkit 1.0.1.
71
+
</simpara>
72
+
</listitem>
73
+
</varlistentry>
74
+
<varlistentry xml:id="constant.runkit7-import-classes">
75
+
<term>
76
+
<constant>RUNKIT7_IMPORT_CLASSES</constant>
77
+
(<type>int</type>)
78
+
</term>
79
+
<listitem>
80
+
<simpara>
81
+
<function>runkit7_import</function> flag representing
82
+
a bitwise OR of the <constant>RUNKIT7_IMPORT_CLASS_*</constant>
83
+
constants.
84
+
</simpara>
85
+
</listitem>
86
+
</varlistentry>
87
+
<varlistentry xml:id="constant.runkit7-import-override">
88
+
<term>
89
+
<constant>RUNKIT7_IMPORT_OVERRIDE</constant>
90
+
(<type>int</type>)
91
+
</term>
92
+
<listitem>
93
+
<simpara>
94
+
<function>runkit7_import</function> flag indicating that
95
+
if any of the imported functions, methods, constants,
96
+
or properties already exist, they should be replaced with
97
+
the new definitions. If this flag is not set, then any
98
+
imported definitions which already exist will be discarded.
99
+
</simpara>
100
+
</listitem>
101
+
</varlistentry>
102
+
<varlistentry xml:id="constant.runkit7-acc-return-reference">
103
+
<term>
104
+
<constant>RUNKIT7_ACC_RETURN_REFERENCE</constant>
105
+
(<type>int</type>)
106
+
</term>
107
+
<listitem>
108
+
<simpara>
109
+
Include this flag to make the function or method being created or redeclared return a reference.
110
+
</simpara>
111
+
</listitem>
112
+
</varlistentry>
113
+
<varlistentry xml:id="constant.runkit7-acc-public">
114
+
<term>
115
+
<constant>RUNKIT7_ACC_PUBLIC</constant>
116
+
(<type>int</type>)
117
+
</term>
118
+
<listitem>
119
+
<simpara>
120
+
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method public.
121
+
</simpara>
122
+
</listitem>
123
+
</varlistentry>
124
+
<varlistentry xml:id="constant.runkit7-acc-protected">
125
+
<term>
126
+
<constant>RUNKIT7_ACC_PROTECTED</constant>
127
+
(<type>int</type>)
128
+
</term>
129
+
<listitem>
130
+
<simpara>
131
+
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method protected.
132
+
</simpara>
133
+
</listitem>
134
+
</varlistentry>
135
+
<varlistentry xml:id="constant.runkit7-acc-private">
136
+
<term>
137
+
<constant>RUNKIT7_ACC_PRIVATE</constant>
138
+
(<type>int</type>)
139
+
</term>
140
+
<listitem>
141
+
<simpara>
142
+
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method private.
143
+
</simpara>
144
+
</listitem>
145
+
</varlistentry>
146
+
<varlistentry xml:id="constant.runkit7-acc-static">
147
+
<term>
148
+
<constant>RUNKIT7_ACC_STATIC</constant>
149
+
(<type>int</type>)
150
+
</term>
151
+
<listitem>
152
+
<simpara>
153
+
Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method static.
154
+
</simpara>
155
+
</listitem>
156
+
</varlistentry>
157
+
<varlistentry xml:id="constant.runkit7-feature-manipulation">
158
+
<term>
159
+
<constant>RUNKIT7_FEATURE_MANIPULATION</constant>
160
+
(<type>int</type>)
161
+
</term>
162
+
<listitem>
163
+
<simpara>
164
+
Equal to 1 if runtime manipulation is enabled, and 0 otherwise.
165
+
</simpara>
166
+
</listitem>
167
+
</varlistentry>
168
+
<varlistentry xml:id="constant.runkit7-feature-superglobals">
169
+
<term>
170
+
<constant>RUNKIT7_FEATURE_SUPERGLOBALS</constant>
171
+
(<type>int</type>)
172
+
</term>
173
+
<listitem>
174
+
<simpara>
175
+
Equal to 1 if custom superglobals are enabled, and 0 otherwise.
176
+
</simpara>
177
+
</listitem>
178
+
</varlistentry>
179
+
<varlistentry xml:id="constant.runkit7-feature-sandbox">
180
+
<term>
181
+
<constant>RUNKIT7_FEATURE_SANDBOX</constant>
182
+
(<type>int</type>)
183
+
</term>
184
+
<listitem>
185
+
<simpara>
186
+
Always 0, it's impractical to implement the sandbox feature in php 7.
187
+
</simpara>
188
+
</listitem>
189
+
</varlistentry>
190
+
</variablelist>
191
+
</para>
192
+
</appendix>
193
+

194
+
<!-- Keep this comment at the end of the file
195
+
Local variables:
196
+
mode: sgml
197
+
sgml-omittag:t
198
+
sgml-shorttag:t
199
+
sgml-minimize-attributes:nil
200
+
sgml-always-quote-attributes:t
201
+
sgml-indent-step:1
202
+
sgml-indent-data:t
203
+
indent-tabs-mode:nil
204
+
sgml-parent-document:nil
205
+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
206
+
sgml-exposed-tags:nil
207
+
sgml-local-catalogs:nil
208
+
sgml-local-ecat-files:nil
209
+
End:
210
+
vim600: syn=xml fen fdm=syntax fdl=2 si
211
+
vim: et tw=78 syn=sgml
212
+
vi: ts=1 sw=1
213
+
-->
0
214