IServerContainer¶
-
interface
OCP\
IServerContainer
¶ - This is a tagging interface for the server containerThe interface currently extends IContainer, but this interface is deprecated as of Nextcloud 20,thus this interface won’t extend it anymore once that was removed. So migrate to the ContainerInterfaceonly.
Source: lib/public/IServerContainer.php#61 Parent: Psr\Container\ContainerInterface
Parent: OCP\IContainer
Methods¶
-
public
OCP\IServerContainer::
getCalendarManager
()¶ - The calendar manager will act as a broker between consumers for calendar information andproviders which actual deliver the calendar information.
Source: lib/public/IServerContainer.php#71 Returns: \OCP\Calendar\IManager
Since: 13.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCalendarResourceBackendManager
()¶ - The calendar resource backend manager will act as a broker between consumersfor calendar resource information an providers which actual deliver the room information.
Source: lib/public/IServerContainer.php#81 Returns: \OCP\Calendar\Resource\IBackend
Since: 14.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCalendarRoomBackendManager
()¶ - The calendar room backend manager will act as a broker between consumersfor calendar room information an providers which actual deliver the room information.
Source: lib/public/IServerContainer.php#91 Returns: \OCP\Calendar\Room\IBackend
Since: 14.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getContactsManager
()¶ - The contacts manager will act as a broker between consumers for contacts information andproviders which actual deliver the contact information.
Source: lib/public/IServerContainer.php#101 Returns: \OCP\Contacts\IManager
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getRequest
()¶ - The current request object holding all information about the request currently being processedis returned from this method.In case the current execution was not initiated by a web request null is returned
Source: lib/public/IServerContainer.php#112 Returns: \OCP\IRequest
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getPreviewManager
()¶ - Returns the preview manager which can create preview images for a given file
Source: lib/public/IServerContainer.php#121 Returns: \OCP\IPreview
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getTagManager
()¶ - Returns the tag manager which can get and set tags for different object types
Source: lib/public/IServerContainer.php#131 See: \OCP\ITagManager::load()
Returns: \OCP\ITagManager
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getRootFolder
()¶ - Returns the root folder of ownCloud’s data directory
Source: lib/public/IServerContainer.php#140 Returns: \OCP\Files\IRootFolder
Since: 6.0.0 - between 6.0.0 and 8.0.0 this returned \OCP\Files\Folder Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getUserFolder
($userId=null)¶ - Returns a view to ownCloud’s files folder
Source: Parameters: - $userId (string) user ID
Returns: Since: 6.0.0 - parameter $userId was added in 8.0.0
See: \OCP\getUserFolder
in \OCP\Files\IRootFolderDeprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getUserManager
()¶ - Returns a user manager
Source: lib/public/IServerContainer.php#160 Returns: \OCP\IUserManager
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getGroupManager
()¶ - Returns a group manager
Source: lib/public/IServerContainer.php#169 Returns: \OCP\IGroupManager
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getUserSession
()¶ - Returns the user session
Source: lib/public/IServerContainer.php#178 Returns: \OCP\IUserSession
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
- Returns the navigation manager
Source: lib/public/IServerContainer.php#187 Returns: \OCP\INavigationManager
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getConfig
()¶ - Returns the config manager
Source: lib/public/IServerContainer.php#196 Returns: \OCP\IConfig
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCrypto
()¶ - Returns a Crypto instance
Source: lib/public/IServerContainer.php#205 Returns: \OCP\Security\ICrypto
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getHasher
()¶ - Returns a Hasher instance
Source: lib/public/IServerContainer.php#214 Returns: \OCP\Security\IHasher
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getSecureRandom
()¶ - Returns a SecureRandom instance
Source: lib/public/IServerContainer.php#223 Returns: \OCP\Security\ISecureRandom
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCredentialsManager
()¶ - Returns a CredentialsManager instance
Source: lib/public/IServerContainer.php#232 Returns: \OCP\Security\ICredentialsManager
Since: 9.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getAppConfig
()¶ - Returns the app config manager
Source: lib/public/IServerContainer.php#241 Returns: \OCP\IAppConfig
Since: 7.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getL10NFactory
()¶ Source: lib/public/IServerContainer.php#248 Returns: \OCP\L10N\IFactory
Since: 8.2.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getL10N
($app, $lang=null)¶ - get an L10N instance
Source: Parameters: - $app (string) appid
- $lang (string)
Returns: Since: 6.0.0 - parameter $lang was added in 8.0.0
Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getEncryptionManager
()¶ Source: lib/public/IServerContainer.php#265 Returns: \OC\Encryption\Manager
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getEncryptionFilesHelper
()¶ Source: lib/public/IServerContainer.php#272 Returns: \OC\Encryption\File
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getEncryptionKeyStorage
()¶ Source: lib/public/IServerContainer.php#279 Returns: \OCP\Encryption\Keys\IStorage
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getURLGenerator
()¶ - Returns the URL generator
Source: lib/public/IServerContainer.php#288 Returns: \OCP\IURLGenerator
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCache
()¶ - Returns an ICache instance
Source: lib/public/IServerContainer.php#297 Returns: \OCP\ICache
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getMemCacheFactory
()¶ - Returns an \OCP\CacheFactory instance
Source: lib/public/IServerContainer.php#306 Returns: \OCP\ICacheFactory
Since: 7.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getSession
()¶ - Returns the current session
Source: lib/public/IServerContainer.php#315 Returns: \OCP\ISession
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getActivityManager
()¶ - Returns the activity manager
Source: lib/public/IServerContainer.php#324 Returns: \OCP\Activity\IManager
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getDatabaseConnection
()¶ - Returns the current session
Source: lib/public/IServerContainer.php#333 Returns: \OCP\IDBConnection
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getAvatarManager
()¶ - Returns an avatar manager, used for avatar functionality
Source: lib/public/IServerContainer.php#342 Returns: \OCP\IAvatarManager
Since: 6.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getJobList
()¶ - Returns an job list for controlling background jobs
Source: lib/public/IServerContainer.php#351 Returns: \OCP\BackgroundJob\IJobList
Since: 7.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getLogger
()¶ - Returns a logger instance
Source: lib/public/IServerContainer.php#360 Returns: \OCP\ILogger
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getLogFactory
()¶ - returns a log factory instance
Source: lib/public/IServerContainer.php#369 Returns: \OCP\Log\ILogFactory
Since: 14.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getRouter
()¶ - Returns a router for generating and matching urls
Source: lib/public/IServerContainer.php#378 Returns: \OCP\Route\IRouter
Since: 7.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getSearch
()¶ - Returns a search instance
Source: lib/public/IServerContainer.php#387 Returns: \OCP\ISearch
Since: 7.0.0 Deprecated: 20.0.0
-
public
OCP\IServerContainer::
getCertificateManager
()¶ - Get the certificate manager
Source: lib/public/IServerContainer.php#396 Returns: \OCP\ICertificateManager
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
createEventSource
()¶ - Create a new event source
Source: lib/public/IServerContainer.php#405 Returns: \OCP\IEventSource
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getHTTPClientService
()¶ - Returns an instance of the HTTP client service
Source: lib/public/IServerContainer.php#414 Returns: \OCP\Http\Client\IClientService
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getEventLogger
()¶ - Get the active event logger
Source: lib/public/IServerContainer.php#423 Returns: \OCP\Diagnostics\IEventLogger
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getQueryLogger
()¶ - Get the active query loggerThe returned logger only logs data when debug mode is enabled
Source: lib/public/IServerContainer.php#434 Returns: \OCP\Diagnostics\IQueryLogger
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getTempManager
()¶ - Get the manager for temporary files and folders
Source: lib/public/IServerContainer.php#443 Returns: \OCP\ITempManager
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getAppManager
()¶ - Get the app manager
Source: lib/public/IServerContainer.php#452 Returns: \OCP\App\IAppManager
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getWebRoot
()¶ - Get the webroot
Source: lib/public/IServerContainer.php#461 Returns: string Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getMountProviderCollection
()¶ Source: lib/public/IServerContainer.php#468 Returns: \OCP\Files\Config\IMountProviderCollection
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getIniWrapper
()¶ - Get the IniWrapper
Source: lib/public/IServerContainer.php#477 Returns: \bantu\IniGetWrapper\IniGetWrapper
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCommandBus
()¶ Source: lib/public/IServerContainer.php#483 Returns: \OCP\Command\IBus
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getMailer
()¶ - Creates a new mailer
Source: lib/public/IServerContainer.php#492 Returns: \OCP\Mail\IMailer
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getLockingProvider
()¶ - Get the locking provider
Source: lib/public/IServerContainer.php#501 Returns: \OCP\Lock\ILockingProvider
Since: 8.1.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getMountManager
()¶ Source: lib/public/IServerContainer.php#508 Returns: \OCP\Files\Mount\IMountManager
Since: 8.2.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getMimeTypeDetector
()¶ - Get the MimeTypeDetector
Source: lib/public/IServerContainer.php#517 Returns: \OCP\Files\IMimeTypeDetector
Since: 8.2.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getMimeTypeLoader
()¶ - Get the MimeTypeLoader
Source: lib/public/IServerContainer.php#526 Returns: \OCP\Files\IMimeTypeLoader
Since: 8.2.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getEventDispatcher
()¶ - Get the EventDispatcher
Source: lib/public/IServerContainer.php#535 Returns: \Symfony\Component\EventDispatcher\EventDispatcherInterface
Deprecated: 20.0.0 use \OCP\EventDispatcher\IEventDispatcher Since: 8.2.0
-
public
OCP\IServerContainer::
getNotificationManager
()¶ - Get the Notification Manager
Source: lib/public/IServerContainer.php#544 Returns: \OCP\Notification\IManager
Since: 9.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCommentsManager
()¶ Source: lib/public/IServerContainer.php#551 Returns: \OCP\Comments\ICommentsManager
Since: 9.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getSystemTagManager
()¶ - Returns the system-tag manager
Source: lib/public/IServerContainer.php#561 Returns: \OCP\SystemTag\ISystemTagManager
Since: 9.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getSystemTagObjectMapper
()¶ - Returns the system-tag object mapper
Source: lib/public/IServerContainer.php#571 Returns: \OCP\SystemTag\ISystemTagObjectMapper
Since: 9.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
- Returns the share manager
Source: lib/public/IServerContainer.php#580 Returns: \OCP\Share\IManager
Since: 9.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getContentSecurityPolicyManager
()¶ Source: lib/public/IServerContainer.php#587 Returns: \OCP\Security\IContentSecurityPolicyManager
Since: 9.0.0 Deprecated: 17.0.0 Use the AddContentSecurityPolicyEvent
-
public
OCP\IServerContainer::
getDateTimeZone
()¶ Source: lib/public/IServerContainer.php#594 Returns: \OCP\IDateTimeZone
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getDateTimeFormatter
()¶ Source: lib/public/IServerContainer.php#601 Returns: \OCP\IDateTimeFormatter
Since: 8.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCloudIdManager
()¶ Source: lib/public/IServerContainer.php#608 Returns: \OCP\Federation\ICloudIdManager
Since: 12.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getGlobalScaleConfig
()¶ Source: lib/public/IServerContainer.php#615 Returns: \OCP\GlobalScale\IConfig
Since: 14.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCloudFederationFactory
()¶ Source: lib/public/IServerContainer.php#622 Returns: \OCP\Federation\ICloudFederationFactory
Since: 14.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getCloudFederationProviderManager
()¶ Source: lib/public/IServerContainer.php#629 Returns: \OCP\Federation\ICloudFederationProviderManager
Since: 14.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getRemoteApiFactory
()¶ Source: lib/public/IServerContainer.php#636 Returns: \OCP\Remote\Api\IApiFactory
Since: 13.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getRemoteInstanceFactory
()¶ Source: lib/public/IServerContainer.php#643 Returns: \OCP\Remote\IInstanceFactory
Since: 13.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
-
public
OCP\IServerContainer::
getStorageFactory
()¶ Source: lib/public/IServerContainer.php#650 Returns: \OCP\Files\Storage\IStorageFactory
Since: 15.0.0 Deprecated: 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get