12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?php
- namespace OCA\Settings\Sections\Admin;
- use OCP\IL10N;
- use OCP\IURLGenerator;
- use OCP\Settings\IIconSection;
- class Delegation implements IIconSection {
-
- private $l;
-
- private $url;
-
- public function __construct(IURLGenerator $url, IL10N $l) {
- $this->url = $url;
- $this->l = $l;
- }
-
- public function getID() {
- return 'admindelegation';
- }
-
- public function getName() {
- return $this->l->t('Administration privileges');
- }
-
- public function getPriority() {
- return 54;
- }
-
- public function getIcon() {
- return $this->url->imagePath('core', 'actions/user-admin.svg');
- }
- }
|