Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
services-1.0.xsd
001 <?xml version="1.0" encoding="UTF-8" ?>
002
003 <xsd:schema xmlns="http://symfony.com/schema/dic/services"
004 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
005 targetNamespace="http://symfony.com/schema/dic/services"
006 elementFormDefault="qualified">
007
008 <xsd:annotation>
009 <xsd:documentation><![CDATA[
010 Symfony XML Services Schema, version 1.0
011 Authors: Fabien Potencier
012
013 This defines a way to describe PHP objects (services) and their
014 dependencies.
015 ]]></xsd:documentation>
016 </xsd:annotation>
017
018 <xsd:element name="container" type="container" />
019
020 <xsd:complexType name="container">
021 <xsd:annotation>
022 <xsd:documentation><![CDATA[
023 The root element of a service file.
024 ]]></xsd:documentation>
025 </xsd:annotation>
026 <xsd:sequence>
027 <xsd:group ref="foreign" />
028 <xsd:sequence minOccurs="0">
029 <xsd:element name="imports" type="imports" />
030 <xsd:group ref="foreign" />
031 </xsd:sequence>
032 <xsd:sequence minOccurs="0">
033 <xsd:element name="parameters" type="parameters" />
034 <xsd:group ref="foreign" />
035 </xsd:sequence>
036 <xsd:sequence minOccurs="0">
037 <xsd:element name="services" type="services" />
038 <xsd:group ref="foreign" />
039 </xsd:sequence>
040 </xsd:sequence>
041 </xsd:complexType>
042
043 <xsd:group name="foreign">
044 <xsd:sequence>
045 <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
046 </xsd:sequence>
047 </xsd:group>
048
049 <xsd:complexType name="services">
050 <xsd:annotation>
051 <xsd:documentation><![CDATA[
052 Enclosing element for the definition of all services
053 ]]></xsd:documentation>
054 </xsd:annotation>
055 <xsd:choice minOccurs="1" maxOccurs="unbounded">
056 <xsd:element name="service" type="service" />
057 </xsd:choice>
058 </xsd:complexType>
059
060 <xsd:complexType name="imports">
061 <xsd:annotation>
062 <xsd:documentation><![CDATA[
063 Enclosing element for the import elements
064 ]]></xsd:documentation>
065 </xsd:annotation>
066 <xsd:choice minOccurs="1" maxOccurs="unbounded">
067 <xsd:element name="import" type="import" />
068 </xsd:choice>
069 </xsd:complexType>
070
071 <xsd:complexType name="import">
072 <xsd:annotation>
073 <xsd:documentation><![CDATA[
074 Import an external resource defining other services or parameters
075 ]]></xsd:documentation>
076 </xsd:annotation>
077 <xsd:attribute name="resource" type="xsd:string" use="required" />
078 <xsd:attribute name="ignore-errors" type="boolean" />
079 </xsd:complexType>
080
081 <xsd:complexType name="callable">
082 <xsd:choice minOccurs="0" maxOccurs="1">
083 <xsd:element name="service" type="service" minOccurs="0" maxOccurs="1" />
084 </xsd:choice>
085 <xsd:attribute name="id" type="xsd:string" />
086 <xsd:attribute name="service" type="xsd:string" />
087 <xsd:attribute name="class" type="xsd:string" />
088 <xsd:attribute name="method" type="xsd:string" />
089 <xsd:attribute name="function" type="xsd:string" />
090 </xsd:complexType>
091
092 <xsd:complexType name="service">
093 <xsd:choice maxOccurs="unbounded">
094 <xsd:element name="file" type="xsd:string" minOccurs="0" maxOccurs="1" />
095 <xsd:element name="argument" type="argument" minOccurs="0" maxOccurs="unbounded" />
096 <xsd:element name="configurator" type="callable" minOccurs="0" maxOccurs="1" />
097 <xsd:element name="factory" type="callable" minOccurs="0" maxOccurs="1" />
098 <xsd:element name="deprecated" type="xsd:string" minOccurs="0" maxOccurs="1" />
099 <xsd:element name="call" type="call" minOccurs="0" maxOccurs="unbounded" />
100 <xsd:element name="tag" type="tag" minOccurs="0" maxOccurs="unbounded" />
101 <xsd:element name="property" type="property" minOccurs="0" maxOccurs="unbounded" />
102 <xsd:element name="autowiring-type" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
103 </xsd:choice>
104 <xsd:attribute name="id" type="xsd:string" />
105 <xsd:attribute name="class" type="xsd:string" />
106 <xsd:attribute name="shared" type="boolean" />
107 <xsd:attribute name="scope" type="xsd:string" />
108 <xsd:attribute name="public" type="boolean" />
109 <xsd:attribute name="synthetic" type="boolean" />
110 <xsd:attribute name="synchronized" type="boolean" />
111 <xsd:attribute name="lazy" type="boolean" />
112 <xsd:attribute name="abstract" type="boolean" />
113 <xsd:attribute name="factory-class" type="xsd:string" />
114 <xsd:attribute name="factory-method" type="xsd:string" />
115 <xsd:attribute name="factory-service" type="xsd:string" />
116 <xsd:attribute name="alias" type="xsd:string" />
117 <xsd:attribute name="parent" type="xsd:string" />
118 <xsd:attribute name="decorates" type="xsd:string" />
119 <xsd:attribute name="decoration-inner-name" type="xsd:string" />
120 <xsd:attribute name="decoration-priority" type="xsd:integer" />
121 <xsd:attribute name="autowire" type="boolean" />
122 </xsd:complexType>
123
124 <xsd:complexType name="tag">
125 <xsd:attribute name="name" type="xsd:string" use="required" />
126 <xsd:anyAttribute namespace="##any" processContents="lax" />
127 </xsd:complexType>
128
129 <xsd:complexType name="parameters">
130 <xsd:choice minOccurs="1" maxOccurs="unbounded">
131 <xsd:element name="parameter" type="parameter" />
132 </xsd:choice>
133 <xsd:attribute name="type" type="parameter_type" />
134 <xsd:attribute name="key" type="xsd:string" />
135 </xsd:complexType>
136
137 <xsd:complexType name="parameter" mixed="true">
138 <xsd:choice minOccurs="0" maxOccurs="unbounded">
139 <xsd:element name="parameter" type="parameter" />
140 </xsd:choice>
141 <xsd:attribute name="type" type="parameter_type" />
142 <xsd:attribute name="id" type="xsd:string" />
143 <xsd:attribute name="key" type="xsd:string" />
144 <xsd:attribute name="on-invalid" type="invalid_sequence" />
145 </xsd:complexType>
146
147 <xsd:complexType name="property" mixed="true">
148 <xsd:choice minOccurs="0" maxOccurs="1">
149 <xsd:element name="property" type="property" minOccurs="0" maxOccurs="unbounded" />
150 <xsd:element name="service" type="service" />
151 </xsd:choice>
152 <xsd:attribute name="type" type="argument_type" />
153 <xsd:attribute name="id" type="xsd:string" />
154 <xsd:attribute name="key" type="xsd:string" />
155 <xsd:attribute name="name" type="xsd:string" />
156 <xsd:attribute name="on-invalid" type="xsd:string" />
157 <xsd:attribute name="strict" type="boolean" />
158 </xsd:complexType>
159
160 <xsd:complexType name="argument" mixed="true">
161 <xsd:choice maxOccurs="unbounded">
162 <xsd:element name="argument" type="argument" minOccurs="0" maxOccurs="unbounded" />
163 <xsd:element name="service" type="service" />
164 </xsd:choice>
165 <xsd:attribute name="type" type="argument_type" />
166 <xsd:attribute name="id" type="xsd:string" />
167 <xsd:attribute name="key" type="xsd:string" />
168 <xsd:attribute name="index" type="xsd:integer" />
169 <xsd:attribute name="on-invalid" type="xsd:string" />
170 <xsd:attribute name="strict" type="boolean" />
171 </xsd:complexType>
172
173 <xsd:complexType name="call" mixed="true">
174 <xsd:choice maxOccurs="unbounded">
175 <xsd:element name="argument" type="argument" minOccurs="0" maxOccurs="unbounded" />
176 <xsd:element name="service" type="service" />
177 </xsd:choice>
178 <xsd:attribute name="method" type="xsd:string" />
179 </xsd:complexType>
180
181 <xsd:simpleType name="parameter_type">
182 <xsd:restriction base="xsd:string">
183 <xsd:enumeration value="collection" />
184 <xsd:enumeration value="string" />
185 <xsd:enumeration value="constant" />
186 </xsd:restriction>
187 </xsd:simpleType>
188
189 <xsd:simpleType name="argument_type">
190 <xsd:restriction base="xsd:string">
191 <xsd:enumeration value="collection" />
192 <xsd:enumeration value="service" />
193 <xsd:enumeration value="expression" />
194 <xsd:enumeration value="string" />
195 <xsd:enumeration value="constant" />
196 </xsd:restriction>
197 </xsd:simpleType>
198
199 <xsd:simpleType name="invalid_sequence">
200 <xsd:restriction base="xsd:string">
201 <xsd:enumeration value="null" />
202 <xsd:enumeration value="ignore" />
203 <xsd:enumeration value="exception" />
204 </xsd:restriction>
205 </xsd:simpleType>
206
207 <xsd:simpleType name="boolean">
208 <xsd:restriction base="xsd:string">
209 <xsd:pattern value="(%.+%|true|false)" />
210 </xsd:restriction>
211 </xsd:simpleType>
212 </xsd:schema>
213