12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- namespace OCA\FederatedFileSharing\Settings;
- use OCP\IL10N;
- use OCP\IURLGenerator;
- use OCP\Settings\IIconSection;
- class PersonalSection implements IIconSection {
-
- private $urlGenerator;
-
- private $l;
- public function __construct(IURLGenerator $urlGenerator, IL10N $l) {
- $this->urlGenerator = $urlGenerator;
- $this->l = $l;
- }
-
- public function getIcon() {
- return $this->urlGenerator->imagePath('core', 'actions/share.svg');
- }
-
- public function getID() {
- return 'sharing';
- }
-
- public function getName() {
- return $this->l->t('Sharing');
- }
-
- public function getPriority() {
- return 15;
- }
- }
|