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