Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

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

notification.yml

Zuletzt modifiziert: 09.10.2024, 12:51 - Dateigröße: 10.86 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              - @config
 010              - @dbal.conn
 011              - @cache
 012              - @user
 013              - %core.root_path%
 014              - %core.php_ext%
 015              - %tables.notification_types%
 016              - %tables.notifications%
 017              - %tables.user_notifications%
 018   
 019  # ----- Notification's types -----
 020  # Scope MUST be prototype for all the plugins to work.
 021      notification.type_collection:
 022          class: phpbb\di\service_collection
 023          arguments:
 024              - @service_container
 025          tags:
 026              - { name: service_collection, tag: notification.type }
 027   
 028      notification.type.approve_post:
 029          class: phpbb\notification\type\approve_post
 030          scope: prototype
 031          arguments:
 032              - @user_loader
 033              - @dbal.conn
 034              - @cache.driver
 035              - @user
 036              - @auth
 037              - @config
 038              - %core.root_path%
 039              - %core.php_ext%
 040              - %tables.notification_types%
 041              - %tables.notifications%
 042              - %tables.user_notifications%
 043          tags:
 044              - { name: notification.type }
 045   
 046      notification.type.approve_topic:
 047          class: phpbb\notification\type\approve_topic
 048          scope: prototype
 049          arguments:
 050              - @user_loader
 051              - @dbal.conn
 052              - @cache.driver
 053              - @user
 054              - @auth
 055              - @config
 056              - %core.root_path%
 057              - %core.php_ext%
 058              - %tables.notification_types%
 059              - %tables.notifications%
 060              - %tables.user_notifications%
 061          tags:
 062              - { name: notification.type }
 063   
 064      notification.type.bookmark:
 065          class: phpbb\notification\type\bookmark
 066          scope: prototype
 067          arguments:
 068              - @user_loader
 069              - @dbal.conn
 070              - @cache.driver
 071              - @user
 072              - @auth
 073              - @config
 074              - %core.root_path%
 075              - %core.php_ext%
 076              - %tables.notification_types%
 077              - %tables.notifications%
 078              - %tables.user_notifications%
 079          tags:
 080              - { name: notification.type }
 081   
 082      notification.type.disapprove_post:
 083          class: phpbb\notification\type\disapprove_post
 084          scope: prototype
 085          arguments:
 086              - @user_loader
 087              - @dbal.conn
 088              - @cache.driver
 089              - @user
 090              - @auth
 091              - @config
 092              - %core.root_path%
 093              - %core.php_ext%
 094              - %tables.notification_types%
 095              - %tables.notifications%
 096              - %tables.user_notifications%
 097          tags:
 098              - { name: notification.type }
 099   
 100      notification.type.disapprove_topic:
 101          class: phpbb\notification\type\disapprove_topic
 102          scope: prototype
 103          arguments:
 104              - @user_loader
 105              - @dbal.conn
 106              - @cache.driver
 107              - @user
 108              - @auth
 109              - @config
 110              - %core.root_path%
 111              - %core.php_ext%
 112              - %tables.notification_types%
 113              - %tables.notifications%
 114              - %tables.user_notifications%
 115          tags:
 116              - { name: notification.type }
 117   
 118      notification.type.group_request:
 119          class: phpbb\notification\type\group_request
 120          scope: prototype
 121          arguments:
 122              - @user_loader
 123              - @dbal.conn
 124              - @cache.driver
 125              - @user
 126              - @auth
 127              - @config
 128              - %core.root_path%
 129              - %core.php_ext%
 130              - %tables.notification_types%
 131              - %tables.notifications%
 132              - %tables.user_notifications%
 133          tags:
 134              - { name: notification.type }
 135   
 136      notification.type.group_request_approved:
 137          class: phpbb\notification\type\group_request_approved
 138          scope: prototype
 139          arguments:
 140              - @user_loader
 141              - @dbal.conn
 142              - @cache.driver
 143              - @user
 144              - @auth
 145              - @config
 146              - %core.root_path%
 147              - %core.php_ext%
 148              - %tables.notification_types%
 149              - %tables.notifications%
 150              - %tables.user_notifications%
 151          tags:
 152              - { name: notification.type }
 153   
 154      notification.type.pm:
 155          class: phpbb\notification\type\pm
 156          scope: prototype
 157          arguments:
 158              - @user_loader
 159              - @dbal.conn
 160              - @cache.driver
 161              - @user
 162              - @auth
 163              - @config
 164              - %core.root_path%
 165              - %core.php_ext%
 166              - %tables.notification_types%
 167              - %tables.notifications%
 168              - %tables.user_notifications%
 169          tags:
 170              - { name: notification.type }
 171   
 172      notification.type.post:
 173          class: phpbb\notification\type\post
 174          scope: prototype
 175          arguments:
 176              - @user_loader
 177              - @dbal.conn
 178              - @cache.driver
 179              - @user
 180              - @auth
 181              - @config
 182              - %core.root_path%
 183              - %core.php_ext%
 184              - %tables.notification_types%
 185              - %tables.notifications%
 186              - %tables.user_notifications%
 187          tags:
 188              - { name: notification.type }
 189   
 190      notification.type.post_in_queue:
 191          class: phpbb\notification\type\post_in_queue
 192          scope: prototype
 193          arguments:
 194              - @user_loader
 195              - @dbal.conn
 196              - @cache.driver
 197              - @user
 198              - @auth
 199              - @config
 200              - %core.root_path%
 201              - %core.php_ext%
 202              - %tables.notification_types%
 203              - %tables.notifications%
 204              - %tables.user_notifications%
 205          tags:
 206              - { name: notification.type }
 207   
 208      notification.type.quote:
 209          class: phpbb\notification\type\quote
 210          scope: prototype
 211          arguments:
 212              - @user_loader
 213              - @dbal.conn
 214              - @cache.driver
 215              - @user
 216              - @auth
 217              - @config
 218              - %core.root_path%
 219              - %core.php_ext%
 220              - %tables.notification_types%
 221              - %tables.notifications%
 222              - %tables.user_notifications%
 223          tags:
 224              - { name: notification.type }
 225   
 226      notification.type.report_pm:
 227          class: phpbb\notification\type\report_pm
 228          scope: prototype
 229          arguments:
 230              - @user_loader
 231              - @dbal.conn
 232              - @cache.driver
 233              - @user
 234              - @auth
 235              - @config
 236              - %core.root_path%
 237              - %core.php_ext%
 238              - %tables.notification_types%
 239              - %tables.notifications%
 240              - %tables.user_notifications%
 241          tags:
 242              - { name: notification.type }
 243   
 244      notification.type.report_pm_closed:
 245          class: phpbb\notification\type\report_pm_closed
 246          scope: prototype
 247          arguments:
 248              - @user_loader
 249              - @dbal.conn
 250              - @cache.driver
 251              - @user
 252              - @auth
 253              - @config
 254              - %core.root_path%
 255              - %core.php_ext%
 256              - %tables.notification_types%
 257              - %tables.notifications%
 258              - %tables.user_notifications%
 259          tags:
 260              - { name: notification.type }
 261   
 262      notification.type.report_post:
 263          class: phpbb\notification\type\report_post
 264          scope: prototype
 265          arguments:
 266              - @user_loader
 267              - @dbal.conn
 268              - @cache.driver
 269              - @user
 270              - @auth
 271              - @config
 272              - %core.root_path%
 273              - %core.php_ext%
 274              - %tables.notification_types%
 275              - %tables.notifications%
 276              - %tables.user_notifications%
 277          tags:
 278              - { name: notification.type }
 279   
 280      notification.type.report_post_closed:
 281          class: phpbb\notification\type\report_post_closed
 282          scope: prototype
 283          arguments:
 284              - @user_loader
 285              - @dbal.conn
 286              - @cache.driver
 287              - @user
 288              - @auth
 289              - @config
 290              - %core.root_path%
 291              - %core.php_ext%
 292              - %tables.notification_types%
 293              - %tables.notifications%
 294              - %tables.user_notifications%
 295          tags:
 296              - { name: notification.type }
 297   
 298      notification.type.topic:
 299          class: phpbb\notification\type\topic
 300          scope: prototype
 301          arguments:
 302              - @user_loader
 303              - @dbal.conn
 304              - @cache.driver
 305              - @user
 306              - @auth
 307              - @config
 308              - %core.root_path%
 309              - %core.php_ext%
 310              - %tables.notification_types%
 311              - %tables.notifications%
 312              - %tables.user_notifications%
 313          tags:
 314              - { name: notification.type }
 315   
 316      notification.type.topic_in_queue:
 317          class: phpbb\notification\type\topic_in_queue
 318          scope: prototype
 319          arguments:
 320              - @user_loader
 321              - @dbal.conn
 322              - @cache.driver
 323              - @user
 324              - @auth
 325              - @config
 326              - %core.root_path%
 327              - %core.php_ext%
 328              - %tables.notification_types%
 329              - %tables.notifications%
 330              - %tables.user_notifications%
 331          tags:
 332              - { name: notification.type }
 333   
 334      notification.type.admin_activate_user:
 335          class: phpbb\notification\type\admin_activate_user
 336          scope: prototype
 337          arguments:
 338              - @user_loader
 339              - @dbal.conn
 340              - @cache.driver
 341              - @user
 342              - @auth
 343              - @config
 344              - %core.root_path%
 345              - %core.php_ext%
 346              - %tables.notification_types%
 347              - %tables.notifications%
 348              - %tables.user_notifications%
 349          tags:
 350              - { name: notification.type }
 351              
 352  # ----- Notification's methods -----
 353  # Scope MUST be prototype for all the plugins to work.
 354      notification.method_collection:
 355          class: phpbb\di\service_collection
 356          arguments:
 357              - @service_container
 358          tags:
 359              - { name: service_collection, tag: notification.method }
 360   
 361      notification.method.email:
 362          class: phpbb\notification\method\email
 363          scope: prototype
 364          arguments:
 365              - @user_loader
 366              - @dbal.conn
 367              - @cache.driver
 368              - @user
 369              - @auth
 370              - @config
 371              - %core.root_path%
 372              - %core.php_ext%
 373          tags:
 374              - { name: notification.method }
 375   
 376      notification.method.jabber:
 377          class: phpbb\notification\method\jabber
 378          scope: prototype
 379          arguments:
 380              - @user_loader
 381              - @dbal.conn
 382              - @cache.driver
 383              - @user
 384              - @auth
 385              - @config
 386              - %core.root_path%
 387              - %core.php_ext%
 388          tags:
 389              - { name: notification.method }
 390