Write.php
33 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 | class Write extends Role |
| 14 | { |
| 15 | public const ID = 'write'; |
| 16 | public function getName() : string |
| 17 | { |
| 18 | return Piwik::translate('UsersManager_PrivWrite'); |
| 19 | } |
| 20 | public function getId() : string |
| 21 | { |
| 22 | return self::ID; |
| 23 | } |
| 24 | public function getDescription() : string |
| 25 | { |
| 26 | return Piwik::translate('UsersManager_PrivWriteDescription'); |
| 27 | } |
| 28 | public function getHelpUrl() : string |
| 29 | { |
| 30 | return 'https://matomo.org/faq/general/faq_26910'; |
| 31 | } |
| 32 | } |
| 33 |