Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:notificationsubscriptions

Die Teilbaum-Benachrichtigungsabonnements je Benutzer und Teilbaum auflisten oder die entfernen, deren Inhalt fehlt (Probelauf, außer mit --apply).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/notificationsubscriptions.md

On this page

This page is a translation. Read the English original

exp:notificationsubscriptions

Die Teilbaum-Benachrichtigungsabonnements je Benutzer und Teilbaum auflisten oder die entfernen, deren Inhalt fehlt (Probelauf, außer mit --apply).

Skript bin/php/notificationsubscriptions.php, Code in kernel/private/classes/commands/notificationsubscriptions.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:notificationsubscriptions --help
./console exp:notification:subscriptions --help
./console exp:notify:subscriptions --help
php bin/php/notificationsubscriptions.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Notification subscriptions
  list                      the subtree subscriptions: user, node, path, class, last change below the node
  remove-missing            remove the subscriptions whose node no longer exists (lists them; --apply removes)

remove-missing without --apply removes nothing: it lists what it would remove. --dry-run is still
accepted and means the same as no flag; --apply together with --dry-run is a usage error (exit 2).

./console exp:notification:subscriptions list --user=editor --limit=20
./console exp:notification:subscriptions list --missing
./console exp:notification:subscriptions remove-missing
./console exp:notification:subscriptions remove-missing --apply

Optionen

OptionWertHilfe
--usererforderlichnur dieser Benutzer: ein Login oder die Inhaltsobjekt-ID des Benutzers
-qerforderlichnur Knoten, deren Name dies enthält
--classerforderlichnur Knoten dieses Klassenbezeichners
--missingnur Abonnements, deren Knoten nicht mehr existiert
--limiterforderlichwie viele (Standard 50)
--offseterforderlichso viele überspringen
--addressesauch die E-Mail-Adresse des Benutzers zeigen (standardmäßig verborgen)
--applyremove-missing: die Abonnements entfernen (Standard listet sie und entfernt nichts)
--dry-runremove-missing: der Standard, beibehalten für Skripte, die die Option übergeben: auflisten, nichts entfernen
--jsonlist: JSON

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/notificationsubscriptions.php, kernel/private/classes/commands/notificationsubscriptions.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x