AppLocator

class OC\IntegrityCheck\Helpers\AppLocator
Class AppLocator provides a non-static helper for OC_App::getPath($appId)
it is not possible to use IAppManager at this point as IAppManager has a
dependency on a running ownCloud.
Source:lib/private/IntegrityCheck/Helpers/AppLocator.php#37

Methods

public OC\IntegrityCheck\Helpers\AppLocator::getAppPath($appId)
Provides \OC_App::getAppPath($appId)
Source:

lib/private/IntegrityCheck/Helpers/AppLocator.php#45

Parameters:
  • $appId (string)
Returns:

string

Throws:

\Exception If the app cannot be found

public OC\IntegrityCheck\Helpers\AppLocator::getAllApps()
Providers \OC_App::getAllApps()
Source:lib/private/IntegrityCheck/Helpers/AppLocator.php#58
Returns:array