ExternalShareMenuAction.php 777 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\AppFramework\Http\Template;
  7. /**
  8. * Class LinkMenuAction
  9. *
  10. * @since 14.0.0
  11. */
  12. class ExternalShareMenuAction extends SimpleMenuAction {
  13. /**
  14. * ExternalShareMenuAction constructor.
  15. *
  16. * @param string $label Translated label
  17. * @param string $icon Icon CSS class
  18. * @param string $owner Owner user ID (unused)
  19. * @param string $displayname Display name of the owner (unused)
  20. * @param string $shareName Name of the share (unused)
  21. * @since 14.0.0
  22. */
  23. public function __construct(string $label, string $icon, string $owner, string $displayname, string $shareName) {
  24. parent::__construct('save', $label, $icon);
  25. }
  26. }