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

List the subtree notification subscriptions per user and subtree, or remove those whose content is gone (dry run unless --apply).

Download as PDF

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

On this page

exp:notificationsubscriptions

List the subtree notification subscriptions per user and subtree, or remove those whose content is gone (dry run unless --apply).

Script bin/php/notificationsubscriptions.php, code in kernel/private/classes/commands/notificationsubscriptions.php. Run it from the installation root, as the user the web server runs as:

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

Help text

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

Options

OptionValueHelp
--userrequiredonly this user: a login or the user's content object id
-qrequiredonly nodes whose name contains this
--classrequiredonly nodes of this class identifier
--missingonly subscriptions whose node is gone
--limitrequiredhow many (default 50)
--offsetrequiredskip this many
--addressesalso show the user's e-mail address (hidden by default)
--applyremove-missing: remove the subscriptions (the default lists them and removes nothing)
--dry-runremove-missing: the default, kept for scripts that pass it: list, remove nothing
--jsonlist: JSON

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/notificationsubscriptions.php, kernel/private/classes/commands/notificationsubscriptions.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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