2018-01-25 12:53:09 -05:00
|
|
|
<?php
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2018-01-25 12:53:09 -05:00
|
|
|
*/
|
2018-04-05 05:09:19 -04:00
|
|
|
namespace OCP\AppFramework\Http\Template;
|
2018-01-25 12:53:09 -05:00
|
|
|
|
2018-04-05 07:18:17 -04:00
|
|
|
/**
|
|
|
|
|
* Class LinkMenuAction
|
|
|
|
|
*
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
2018-01-25 12:53:09 -05:00
|
|
|
class ExternalShareMenuAction extends SimpleMenuAction {
|
|
|
|
|
|
2018-02-09 03:20:11 -05:00
|
|
|
/**
|
|
|
|
|
* ExternalShareMenuAction constructor.
|
|
|
|
|
*
|
2024-08-28 07:17:04 -04:00
|
|
|
* @param string $label Translated label
|
|
|
|
|
* @param string $icon Icon CSS class
|
|
|
|
|
* @param string $owner Owner user ID (unused)
|
|
|
|
|
* @param string $displayname Display name of the owner (unused)
|
|
|
|
|
* @param string $shareName Name of the share (unused)
|
2018-04-05 07:18:17 -04:00
|
|
|
* @since 14.0.0
|
2018-02-09 03:20:11 -05:00
|
|
|
*/
|
|
|
|
|
public function __construct(string $label, string $icon, string $owner, string $displayname, string $shareName) {
|
2018-01-25 12:53:09 -05:00
|
|
|
parent::__construct('save', $label, $icon);
|
|
|
|
|
}
|
2018-03-06 04:21:35 -05:00
|
|
|
}
|