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.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

services_notification.yml

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 6.49 KiB


001  services:
002      notification_manager:
003          class: phpbb\notification\manager
004          arguments:
005              - '@notification.type_collection'
006              - '@notification.method_collection'
007              - '@service_container'
008              - '@user_loader'
009              - '@dispatcher'
010              - '@dbal.conn'
011              - '@cache'
012              - '@language'
013              - '@user'
014              - '%tables.notification_types%'
015              - '%tables.user_notifications%'
016   
017  # ----- Notification's types -----
018  # Service MUST NOT be shared for all the plugins to work.
019      notification.type_collection:
020          class: phpbb\di\service_collection
021          arguments:
022              - '@service_container'
023          tags:
024              - { name: service_collection, tag: notification.type }
025   
026      notification.type.base:
027          abstract: true
028          arguments:
029              - '@dbal.conn'
030              - '@language'
031              - '@user'
032              - '@auth'
033              - '%core.root_path%'
034              - '%core.php_ext%'
035              - '%tables.user_notifications%'
036   
037      notification.type.admin_activate_user:
038          class: phpbb\notification\type\admin_activate_user
039          shared: false
040          parent: notification.type.base
041          calls:
042              - [set_user_loader, ['@user_loader']]
043              - [set_config, ['@config']]
044          tags:
045              - { name: notification.type }
046   
047      notification.type.approve_post:
048          class: phpbb\notification\type\approve_post
049          shared: false
050          parent: notification.type.post
051          tags:
052              - { name: notification.type }
053   
054      notification.type.approve_topic:
055          class: phpbb\notification\type\approve_topic
056          shared: false
057          parent: notification.type.topic
058          tags:
059              - { name: notification.type }
060   
061      notification.type.bookmark:
062          class: phpbb\notification\type\bookmark
063          shared: false
064          parent: notification.type.post
065          tags:
066              - { name: notification.type }
067   
068      notification.type.disapprove_post:
069          class: phpbb\notification\type\disapprove_post
070          shared: false
071          parent: notification.type.post
072          tags:
073              - { name: notification.type }
074   
075      notification.type.disapprove_topic:
076          class: phpbb\notification\type\disapprove_topic
077          shared: false
078          parent: notification.type.topic
079          tags:
080              - { name: notification.type }
081   
082      notification.type.group_request:
083          class: phpbb\notification\type\group_request
084          shared: false
085          parent: notification.type.base
086          calls:
087              - [set_user_loader, ['@user_loader']]
088          tags:
089              - { name: notification.type }
090   
091      notification.type.group_request_approved:
092          class: phpbb\notification\type\group_request_approved
093          shared: false
094          parent: notification.type.base
095          tags:
096              - { name: notification.type }
097   
098      notification.type.pm:
099          class: phpbb\notification\type\pm
100          shared: false
101          parent: notification.type.base
102          calls:
103              - [set_user_loader, ['@user_loader']]
104              - [set_config, ['@config']]
105          tags:
106              - { name: notification.type }
107   
108      notification.type.post:
109          class: phpbb\notification\type\post
110          shared: false
111          parent: notification.type.base
112          calls:
113              - [set_user_loader, ['@user_loader']]
114              - [set_config, ['@config']]
115          tags:
116              - { name: notification.type }
117   
118      notification.type.post_in_queue:
119          class: phpbb\notification\type\post_in_queue
120          shared: false
121          parent: notification.type.post
122          tags:
123              - { name: notification.type }
124   
125      notification.type.quote:
126          class: phpbb\notification\type\quote
127          shared: false
128          parent: notification.type.post
129          calls:
130              - [set_utils, ['@text_formatter.utils']]
131          tags:
132              - { name: notification.type }
133   
134      notification.type.report_pm:
135          class: phpbb\notification\type\report_pm
136          shared: false
137          parent: notification.type.pm
138          tags:
139              - { name: notification.type }
140   
141      notification.type.report_pm_closed:
142          class: phpbb\notification\type\report_pm_closed
143          shared: false
144          parent: notification.type.pm
145          tags:
146              - { name: notification.type }
147   
148      notification.type.report_post:
149          class: phpbb\notification\type\report_post
150          shared: false
151          parent: notification.type.post
152          tags:
153              - { name: notification.type }
154   
155      notification.type.report_post_closed:
156          class: phpbb\notification\type\report_post_closed
157          shared: false
158          parent: notification.type.post
159          tags:
160              - { name: notification.type }
161   
162      notification.type.topic:
163          class: phpbb\notification\type\topic
164          shared: false
165          parent: notification.type.base
166          calls:
167              - [set_user_loader, ['@user_loader']]
168              - [set_config, ['@config']]
169          tags:
170              - { name: notification.type }
171   
172      notification.type.topic_in_queue:
173          class: phpbb\notification\type\topic_in_queue
174          shared: false
175          parent: notification.type.topic
176          tags:
177              - { name: notification.type }
178   
179  # ----- Notification's methods -----
180  # Service MUST NOT be shared for all the plugins to work.
181      notification.method_collection:
182          class: phpbb\di\service_collection
183          arguments:
184              - '@service_container'
185          tags:
186              - { name: service_collection, tag: notification.method }
187   
188      notification.method.board:
189          class: phpbb\notification\method\board
190          shared: false
191          arguments:
192              - '@user_loader'
193              - '@dbal.conn'
194              - '@cache.driver'
195              - '@user'
196              - '@config'
197              - '%tables.notification_types%'
198              - '%tables.notifications%'
199          tags:
200              - { name: notification.method }
201   
202      notification.method.email:
203          class: phpbb\notification\method\email
204          shared: false
205          arguments:
206              - '@user_loader'
207              - '@user'
208              - '@config'
209              - '%core.root_path%'
210              - '%core.php_ext%'
211          tags:
212              - { name: notification.method }
213   
214      notification.method.jabber:
215          class: phpbb\notification\method\jabber
216          shared: false
217          arguments:
218              - '@user_loader'
219              - '@user'
220              - '@config'
221              - '%core.root_path%'
222              - '%core.php_ext%'
223          tags:
224              - { name: notification.method }
225