Write.php
34 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Access\Role; |
| 10 | |
| 11 | use Piwik\Access\Role; |
| 12 | use Piwik\Piwik; |
| 13 | use Piwik\Url; |
| 14 | class Write extends Role |
| 15 | { |
| 16 | public const ID = 'write'; |
| 17 | public function getName() : string |
| 18 | { |
| 19 | return Piwik::translate('UsersManager_PrivWrite'); |
| 20 | } |
| 21 | public function getId() : string |
| 22 | { |
| 23 | return self::ID; |
| 24 | } |
| 25 | public function getDescription() : string |
| 26 | { |
| 27 | return Piwik::translate('UsersManager_PrivWriteDescription'); |
| 28 | } |
| 29 | public function getHelpUrl() : string |
| 30 | { |
| 31 | return Url::addCampaignParametersToMatomoLink('https://matomo.org/faq/general/faq_26910'); |
| 32 | } |
| 33 | } |
| 34 |