12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?php
- namespace OC\Share;
- use OCP\Share\IShare;
- class Constants {
-
- public const SHARE_TYPE_USER = 0;
-
- public const SHARE_TYPE_GROUP = 1;
-
-
- public const SHARE_TYPE_LINK = 3;
-
- public const SHARE_TYPE_EMAIL = 4;
- public const SHARE_TYPE_CONTACT = 5;
-
- public const SHARE_TYPE_REMOTE = 6;
-
- public const SHARE_TYPE_CIRCLE = 7;
-
- public const SHARE_TYPE_GUEST = 8;
-
- public const SHARE_TYPE_REMOTE_GROUP = 9;
-
- public const SHARE_TYPE_ROOM = 10;
-
-
- public const SHARE_TYPE_DECK = 12;
-
-
- public const FORMAT_NONE = -1;
- public const FORMAT_STATUSES = -2;
- public const FORMAT_SOURCES = -3;
- public const RESPONSE_FORMAT = 'json';
- public const MIN_TOKEN_LENGTH = 6;
- public const DEFAULT_TOKEN_LENGTH = 15;
- public const MAX_TOKEN_LENGTH = 32;
- public const TOKEN_LENGTH = self::DEFAULT_TOKEN_LENGTH;
- protected static $shareTypeUserAndGroups = -1;
- protected static $shareTypeGroupUserUnique = 2;
- protected static $backends = [];
- protected static $backendTypes = [];
- protected static $isResharingAllowed;
- }
|