@@ -49,6 +49,7 @@ discard block |
||
| 49 | 49 | class Files { |
| 50 | 50 | /** |
| 51 | 51 | * Recusive deletion of folders |
| 52 | + * @param string $dir |
|
| 52 | 53 | * @return bool |
| 53 | 54 | * @since 5.0.0 |
| 54 | 55 | * @deprecated 14.0.0 |
@@ -72,7 +73,7 @@ discard block |
||
| 72 | 73 | /** |
| 73 | 74 | * Search for files by mimetype |
| 74 | 75 | * @param string $mimetype |
| 75 | - * @return array |
|
| 76 | + * @return \OC\Files\FileInfo[] |
|
| 76 | 77 | * @since 6.0.0 |
| 77 | 78 | * @deprecated 14.0.0 |
| 78 | 79 | */ |
@@ -47,73 +47,73 @@ |
||
| 47 | 47 | * @deprecated 14.0.0 |
| 48 | 48 | */ |
| 49 | 49 | class Files { |
| 50 | - /** |
|
| 51 | - * Recusive deletion of folders |
|
| 52 | - * @return bool |
|
| 53 | - * @since 5.0.0 |
|
| 54 | - * @deprecated 14.0.0 |
|
| 55 | - */ |
|
| 56 | - static public function rmdirr( $dir ) { |
|
| 57 | - return \OC_Helper::rmdirr( $dir ); |
|
| 58 | - } |
|
| 50 | + /** |
|
| 51 | + * Recusive deletion of folders |
|
| 52 | + * @return bool |
|
| 53 | + * @since 5.0.0 |
|
| 54 | + * @deprecated 14.0.0 |
|
| 55 | + */ |
|
| 56 | + static public function rmdirr( $dir ) { |
|
| 57 | + return \OC_Helper::rmdirr( $dir ); |
|
| 58 | + } |
|
| 59 | 59 | |
| 60 | - /** |
|
| 61 | - * Get the mimetype form a local file |
|
| 62 | - * @param string $path |
|
| 63 | - * @return string |
|
| 64 | - * does NOT work for ownClouds filesystem, use OC_FileSystem::getMimeType instead |
|
| 65 | - * @since 5.0.0 |
|
| 66 | - * @deprecated 14.0.0 |
|
| 67 | - */ |
|
| 68 | - static public function getMimeType( $path ) { |
|
| 69 | - return \OC::$server->getMimeTypeDetector()->detect($path); |
|
| 70 | - } |
|
| 60 | + /** |
|
| 61 | + * Get the mimetype form a local file |
|
| 62 | + * @param string $path |
|
| 63 | + * @return string |
|
| 64 | + * does NOT work for ownClouds filesystem, use OC_FileSystem::getMimeType instead |
|
| 65 | + * @since 5.0.0 |
|
| 66 | + * @deprecated 14.0.0 |
|
| 67 | + */ |
|
| 68 | + static public function getMimeType( $path ) { |
|
| 69 | + return \OC::$server->getMimeTypeDetector()->detect($path); |
|
| 70 | + } |
|
| 71 | 71 | |
| 72 | - /** |
|
| 73 | - * Search for files by mimetype |
|
| 74 | - * @param string $mimetype |
|
| 75 | - * @return array |
|
| 76 | - * @since 6.0.0 |
|
| 77 | - * @deprecated 14.0.0 |
|
| 78 | - */ |
|
| 79 | - static public function searchByMime($mimetype) { |
|
| 80 | - return \OC\Files\Filesystem::searchByMime($mimetype); |
|
| 81 | - } |
|
| 72 | + /** |
|
| 73 | + * Search for files by mimetype |
|
| 74 | + * @param string $mimetype |
|
| 75 | + * @return array |
|
| 76 | + * @since 6.0.0 |
|
| 77 | + * @deprecated 14.0.0 |
|
| 78 | + */ |
|
| 79 | + static public function searchByMime($mimetype) { |
|
| 80 | + return \OC\Files\Filesystem::searchByMime($mimetype); |
|
| 81 | + } |
|
| 82 | 82 | |
| 83 | - /** |
|
| 84 | - * Copy the contents of one stream to another |
|
| 85 | - * @param resource $source |
|
| 86 | - * @param resource $target |
|
| 87 | - * @return int the number of bytes copied |
|
| 88 | - * @since 5.0.0 |
|
| 89 | - * @deprecated 14.0.0 |
|
| 90 | - */ |
|
| 91 | - public static function streamCopy( $source, $target ) { |
|
| 92 | - list($count, ) = \OC_Helper::streamCopy( $source, $target ); |
|
| 93 | - return $count; |
|
| 94 | - } |
|
| 83 | + /** |
|
| 84 | + * Copy the contents of one stream to another |
|
| 85 | + * @param resource $source |
|
| 86 | + * @param resource $target |
|
| 87 | + * @return int the number of bytes copied |
|
| 88 | + * @since 5.0.0 |
|
| 89 | + * @deprecated 14.0.0 |
|
| 90 | + */ |
|
| 91 | + public static function streamCopy( $source, $target ) { |
|
| 92 | + list($count, ) = \OC_Helper::streamCopy( $source, $target ); |
|
| 93 | + return $count; |
|
| 94 | + } |
|
| 95 | 95 | |
| 96 | - /** |
|
| 97 | - * Adds a suffix to the name in case the file exists |
|
| 98 | - * @param string $path |
|
| 99 | - * @param string $filename |
|
| 100 | - * @return string |
|
| 101 | - * @since 5.0.0 |
|
| 102 | - * @deprecated 14.0.0 use getNonExistingName of the OCP\Files\Folder object |
|
| 103 | - */ |
|
| 104 | - public static function buildNotExistingFileName($path, $filename) { |
|
| 105 | - return \OC_Helper::buildNotExistingFileName($path, $filename); |
|
| 106 | - } |
|
| 96 | + /** |
|
| 97 | + * Adds a suffix to the name in case the file exists |
|
| 98 | + * @param string $path |
|
| 99 | + * @param string $filename |
|
| 100 | + * @return string |
|
| 101 | + * @since 5.0.0 |
|
| 102 | + * @deprecated 14.0.0 use getNonExistingName of the OCP\Files\Folder object |
|
| 103 | + */ |
|
| 104 | + public static function buildNotExistingFileName($path, $filename) { |
|
| 105 | + return \OC_Helper::buildNotExistingFileName($path, $filename); |
|
| 106 | + } |
|
| 107 | 107 | |
| 108 | - /** |
|
| 109 | - * Gets the Storage for an app - creates the needed folder if they are not |
|
| 110 | - * existent |
|
| 111 | - * @param string $app |
|
| 112 | - * @return \OC\Files\View |
|
| 113 | - * @since 5.0.0 |
|
| 114 | - * @deprecated 14.0.0 use IAppData instead |
|
| 115 | - */ |
|
| 116 | - public static function getStorage($app) { |
|
| 117 | - return \OC_App::getStorage( $app ); |
|
| 118 | - } |
|
| 108 | + /** |
|
| 109 | + * Gets the Storage for an app - creates the needed folder if they are not |
|
| 110 | + * existent |
|
| 111 | + * @param string $app |
|
| 112 | + * @return \OC\Files\View |
|
| 113 | + * @since 5.0.0 |
|
| 114 | + * @deprecated 14.0.0 use IAppData instead |
|
| 115 | + */ |
|
| 116 | + public static function getStorage($app) { |
|
| 117 | + return \OC_App::getStorage( $app ); |
|
| 118 | + } |
|
| 119 | 119 | } |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | * @since 5.0.0 |
| 54 | 54 | * @deprecated 14.0.0 |
| 55 | 55 | */ |
| 56 | - static public function rmdirr( $dir ) { |
|
| 57 | - return \OC_Helper::rmdirr( $dir ); |
|
| 56 | + static public function rmdirr($dir) { |
|
| 57 | + return \OC_Helper::rmdirr($dir); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * @since 5.0.0 |
| 66 | 66 | * @deprecated 14.0.0 |
| 67 | 67 | */ |
| 68 | - static public function getMimeType( $path ) { |
|
| 68 | + static public function getMimeType($path) { |
|
| 69 | 69 | return \OC::$server->getMimeTypeDetector()->detect($path); |
| 70 | 70 | } |
| 71 | 71 | |
@@ -88,8 +88,8 @@ discard block |
||
| 88 | 88 | * @since 5.0.0 |
| 89 | 89 | * @deprecated 14.0.0 |
| 90 | 90 | */ |
| 91 | - public static function streamCopy( $source, $target ) { |
|
| 92 | - list($count, ) = \OC_Helper::streamCopy( $source, $target ); |
|
| 91 | + public static function streamCopy($source, $target) { |
|
| 92 | + list($count,) = \OC_Helper::streamCopy($source, $target); |
|
| 93 | 93 | return $count; |
| 94 | 94 | } |
| 95 | 95 | |
@@ -114,6 +114,6 @@ discard block |
||
| 114 | 114 | * @deprecated 14.0.0 use IAppData instead |
| 115 | 115 | */ |
| 116 | 116 | public static function getStorage($app) { |
| 117 | - return \OC_App::getStorage( $app ); |
|
| 117 | + return \OC_App::getStorage($app); |
|
| 118 | 118 | } |
| 119 | 119 | } |
@@ -24,164 +24,164 @@ |
||
| 24 | 24 | namespace OC\App\CodeChecker; |
| 25 | 25 | |
| 26 | 26 | class DeprecationCheck extends AbstractCheck { |
| 27 | - /** |
|
| 28 | - * @return string |
|
| 29 | - */ |
|
| 30 | - protected function getLocalDescription() { |
|
| 31 | - return 'deprecated'; |
|
| 32 | - } |
|
| 33 | - |
|
| 34 | - /** |
|
| 35 | - * @return array E.g.: `'ClassName' => 'oc version',` |
|
| 36 | - */ |
|
| 37 | - protected function getLocalClasses() { |
|
| 38 | - return [ |
|
| 39 | - 'OC_JSON' => '8.2.0', |
|
| 40 | - |
|
| 41 | - 'OCP\Contacts' => '8.1.0', |
|
| 42 | - 'OCP\DB' => '8.1.0', |
|
| 43 | - 'OCP\JSON' => '8.1.0', |
|
| 44 | - 'OCP\Response' => '8.1.0', |
|
| 45 | - 'OCP\AppFramework\IApi' => '8.0.0', |
|
| 46 | - 'OCP\User' => '13.0.0', |
|
| 47 | - 'OCP\BackgroundJob' => '14.0.0', |
|
| 48 | - 'OCP\App' => '14.0.0', |
|
| 49 | - 'OCP\Files' => '14.0.0', |
|
| 50 | - ]; |
|
| 51 | - } |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @return array E.g.: `'ClassName::CONSTANT_NAME' => 'oc version',` |
|
| 55 | - */ |
|
| 56 | - protected function getLocalConstants() { |
|
| 57 | - return [ |
|
| 58 | - 'OC_API::GUEST_AUTH' => '8.2.0', |
|
| 59 | - 'OC_API::USER_AUTH' => '8.2.0', |
|
| 60 | - 'OC_API::SUBADMIN_AUTH' => '8.2.0', |
|
| 61 | - 'OC_API::ADMIN_AUTH' => '8.2.0', |
|
| 62 | - 'OC_API::RESPOND_UNAUTHORISED' => '8.2.0', |
|
| 63 | - 'OC_API::RESPOND_SERVER_ERROR' => '8.2.0', |
|
| 64 | - 'OC_API::RESPOND_NOT_FOUND' => '8.2.0', |
|
| 65 | - 'OC_API::RESPOND_UNKNOWN_ERROR' => '8.2.0', |
|
| 66 | - |
|
| 67 | - 'OCP::PERMISSION_CREATE' => '8.0.0', |
|
| 68 | - 'OCP::PERMISSION_READ' => '8.0.0', |
|
| 69 | - 'OCP::PERMISSION_UPDATE' => '8.0.0', |
|
| 70 | - 'OCP::PERMISSION_DELETE' => '8.0.0', |
|
| 71 | - 'OCP::PERMISSION_SHARE' => '8.0.0', |
|
| 72 | - 'OCP::PERMISSION_ALL' => '8.0.0', |
|
| 73 | - 'OCP::FILENAME_INVALID_CHARS' => '8.0.0', |
|
| 74 | - ]; |
|
| 75 | - } |
|
| 76 | - |
|
| 77 | - /** |
|
| 78 | - * @return array E.g.: `'functionName' => 'oc version',` |
|
| 79 | - */ |
|
| 80 | - protected function getLocalFunctions() { |
|
| 81 | - return [ |
|
| 82 | - 'OCP::image_path' => '8.0.0', |
|
| 83 | - 'OCP::mimetype_icon' => '8.0.0', |
|
| 84 | - 'OCP::preview_icon' => '8.0.0', |
|
| 85 | - 'OCP::publicPreview_icon' => '8.0.0', |
|
| 86 | - 'OCP::human_file_size' => '8.0.0', |
|
| 87 | - 'OCP::relative_modified_date' => '8.0.0', |
|
| 88 | - 'OCP::simple_file_size' => '8.0.0', |
|
| 89 | - 'OCP::html_select_options' => '8.0.0', |
|
| 90 | - ]; |
|
| 91 | - } |
|
| 92 | - |
|
| 93 | - /** |
|
| 94 | - * @return array E.g.: `'ClassName::methodName' => 'oc version',` |
|
| 95 | - */ |
|
| 96 | - protected function getLocalMethods() { |
|
| 97 | - return [ |
|
| 98 | - 'OC_L10N::get' => '8.2.0', |
|
| 99 | - |
|
| 100 | - 'OCP\Activity\IManager::publishActivity' => '8.2.0', |
|
| 101 | - |
|
| 102 | - 'OCP\App::register' => '8.1.0', |
|
| 103 | - 'OCP\App::addNavigationEntry' => '8.1.0', |
|
| 104 | - 'OCP\App::getActiveNavigationEntry' => '8.2.0', |
|
| 105 | - 'OCP\App::setActiveNavigationEntry' => '8.1.0', |
|
| 106 | - 'OCP\App::registerPersonal' => '14.0.0', |
|
| 107 | - 'OCP\App::registerAdmin' => '14.0.0', |
|
| 108 | - 'OC_App::getAppInfo' => '14.0.0', |
|
| 109 | - 'OCP\App::getAppInfo' => '14.0.0', |
|
| 110 | - 'OC_App::getAppVersion' => '14.0.0', |
|
| 111 | - 'OCP\App::getAppVersion' => '14.0.0', |
|
| 112 | - 'OCP\App::registerPersonal' => '14.0.0', |
|
| 113 | - |
|
| 114 | - 'OCP\AppFramework\Controller::params' => '7.0.0', |
|
| 115 | - 'OCP\AppFramework\Controller::getParams' => '7.0.0', |
|
| 116 | - 'OCP\AppFramework\Controller::method' => '7.0.0', |
|
| 117 | - 'OCP\AppFramework\Controller::getUploadedFile' => '7.0.0', |
|
| 118 | - 'OCP\AppFramework\Controller::env' => '7.0.0', |
|
| 119 | - 'OCP\AppFramework\Controller::cookie' => '7.0.0', |
|
| 120 | - 'OCP\AppFramework\Controller::render' => '7.0.0', |
|
| 121 | - |
|
| 122 | - 'OCP\AppFramework\IAppContainer::getCoreApi' => '8.0.0', |
|
| 123 | - 'OCP\AppFramework\IAppContainer::isLoggedIn' => '8.0.0', |
|
| 124 | - 'OCP\AppFramework\IAppContainer::isAdminUser' => '8.0.0', |
|
| 125 | - 'OCP\AppFramework\IAppContainer::log' => '8.0.0', |
|
| 126 | - |
|
| 127 | - 'OCP\BackgroundJob::registerJob' => '8.1.0', |
|
| 128 | - 'OCP\BackgroundJob::getExecutionType' => '14.0.0', |
|
| 129 | - 'OCP\BackgroundJob::setExecutionType' => '14.0.0', |
|
| 130 | - |
|
| 131 | - 'OCP\Files::tmpFile' => '8.1.0', |
|
| 132 | - 'OCP\Files::tmpFolder' => '8.1.0', |
|
| 133 | - |
|
| 134 | - 'OCP\IAppConfig::getValue' => '8.0.0', |
|
| 135 | - 'OCP\IAppConfig::deleteKey' => '8.0.0', |
|
| 136 | - 'OCP\IAppConfig::getKeys' => '8.0.0', |
|
| 137 | - 'OCP\IAppConfig::setValue' => '8.0.0', |
|
| 138 | - 'OCP\IAppConfig::deleteApp' => '8.0.0', |
|
| 139 | - |
|
| 140 | - 'OCP\IDBConnection::createQueryBuilder' => '8.2.0', |
|
| 141 | - 'OCP\IDBConnection::getExpressionBuilder' => '8.2.0', |
|
| 142 | - |
|
| 143 | - 'OCP\ISearch::search' => '8.0.0', |
|
| 144 | - |
|
| 145 | - 'OCP\IServerContainer::getCache' => '8.2.0', |
|
| 146 | - 'OCP\IServerContainer::getDb' => '8.1.0', |
|
| 147 | - 'OCP\IServerContainer::getHTTPHelper' => '8.1.0', |
|
| 148 | - |
|
| 149 | - 'OCP\Response::disableCaching' => '14.0.0', |
|
| 150 | - |
|
| 151 | - 'OCP\User::getUser' => '8.0.0', |
|
| 152 | - 'OCP\User::getUsers' => '8.1.0', |
|
| 153 | - 'OCP\User::getDisplayName' => '8.1.0', |
|
| 154 | - 'OCP\User::getDisplayNames' => '8.1.0', |
|
| 155 | - 'OCP\User::userExists' => '8.1.0', |
|
| 156 | - 'OCP\User::logout' => '8.1.0', |
|
| 157 | - 'OCP\User::checkPassword' => '8.1.0', |
|
| 158 | - 'OCP\User::isLoggedIn' => '13.0.0', |
|
| 159 | - 'OCP\User::checkAdminUser' => '13.0.0', |
|
| 160 | - 'OCP\User::checkLoggedIn' => '13.0.0', |
|
| 161 | - |
|
| 162 | - 'OCP\Util::encryptedFiles' => '8.1.0', |
|
| 163 | - 'OCP\Util::formatDate' => '8.0.0', |
|
| 164 | - 'OCP\Util::generateRandomBytes' => '8.1.0', |
|
| 165 | - 'OCP\Util::getServerHost' => '8.1.0', |
|
| 166 | - 'OCP\Util::getServerProtocol' => '8.1.0', |
|
| 167 | - 'OCP\Util::getRequestUri' => '8.1.0', |
|
| 168 | - 'OCP\Util::getScriptName' => '8.1.0', |
|
| 169 | - 'OCP\Util::imagePath' => '8.1.0', |
|
| 170 | - 'OCP\Util::isValidFileName' => '8.1.0', |
|
| 171 | - 'OCP\Util::linkToRoute' => '8.1.0', |
|
| 172 | - 'OCP\Util::linkTo' => '8.1.0', |
|
| 173 | - 'OCP\Util::logException' => '8.2.0', |
|
| 174 | - 'OCP\Util::mb_str_replace' => '8.2.0', |
|
| 175 | - 'OCP\Util::mb_substr_replace' => '8.2.0', |
|
| 176 | - 'OCP\Util::sendMail' => '8.1.0', |
|
| 177 | - 'OCP\Util::writeLog' => '13.0.0', |
|
| 178 | - |
|
| 179 | - 'OCP\Files::rmdirr' => '14.0.0', |
|
| 180 | - 'OCP\Files::getMimeType' => '14.0.0', |
|
| 181 | - 'OCP\Files::searchByMime' => '14.0.0', |
|
| 182 | - 'OCP\Files::streamCopy' => '14.0.0', |
|
| 183 | - 'OCP\Files::buildNotExistingFileName' => '14.0.0', |
|
| 184 | - 'OCP\Files::getStorage' => '14.0.0', |
|
| 185 | - ]; |
|
| 186 | - } |
|
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 30 | + protected function getLocalDescription() { |
|
| 31 | + return 'deprecated'; |
|
| 32 | + } |
|
| 33 | + |
|
| 34 | + /** |
|
| 35 | + * @return array E.g.: `'ClassName' => 'oc version',` |
|
| 36 | + */ |
|
| 37 | + protected function getLocalClasses() { |
|
| 38 | + return [ |
|
| 39 | + 'OC_JSON' => '8.2.0', |
|
| 40 | + |
|
| 41 | + 'OCP\Contacts' => '8.1.0', |
|
| 42 | + 'OCP\DB' => '8.1.0', |
|
| 43 | + 'OCP\JSON' => '8.1.0', |
|
| 44 | + 'OCP\Response' => '8.1.0', |
|
| 45 | + 'OCP\AppFramework\IApi' => '8.0.0', |
|
| 46 | + 'OCP\User' => '13.0.0', |
|
| 47 | + 'OCP\BackgroundJob' => '14.0.0', |
|
| 48 | + 'OCP\App' => '14.0.0', |
|
| 49 | + 'OCP\Files' => '14.0.0', |
|
| 50 | + ]; |
|
| 51 | + } |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @return array E.g.: `'ClassName::CONSTANT_NAME' => 'oc version',` |
|
| 55 | + */ |
|
| 56 | + protected function getLocalConstants() { |
|
| 57 | + return [ |
|
| 58 | + 'OC_API::GUEST_AUTH' => '8.2.0', |
|
| 59 | + 'OC_API::USER_AUTH' => '8.2.0', |
|
| 60 | + 'OC_API::SUBADMIN_AUTH' => '8.2.0', |
|
| 61 | + 'OC_API::ADMIN_AUTH' => '8.2.0', |
|
| 62 | + 'OC_API::RESPOND_UNAUTHORISED' => '8.2.0', |
|
| 63 | + 'OC_API::RESPOND_SERVER_ERROR' => '8.2.0', |
|
| 64 | + 'OC_API::RESPOND_NOT_FOUND' => '8.2.0', |
|
| 65 | + 'OC_API::RESPOND_UNKNOWN_ERROR' => '8.2.0', |
|
| 66 | + |
|
| 67 | + 'OCP::PERMISSION_CREATE' => '8.0.0', |
|
| 68 | + 'OCP::PERMISSION_READ' => '8.0.0', |
|
| 69 | + 'OCP::PERMISSION_UPDATE' => '8.0.0', |
|
| 70 | + 'OCP::PERMISSION_DELETE' => '8.0.0', |
|
| 71 | + 'OCP::PERMISSION_SHARE' => '8.0.0', |
|
| 72 | + 'OCP::PERMISSION_ALL' => '8.0.0', |
|
| 73 | + 'OCP::FILENAME_INVALID_CHARS' => '8.0.0', |
|
| 74 | + ]; |
|
| 75 | + } |
|
| 76 | + |
|
| 77 | + /** |
|
| 78 | + * @return array E.g.: `'functionName' => 'oc version',` |
|
| 79 | + */ |
|
| 80 | + protected function getLocalFunctions() { |
|
| 81 | + return [ |
|
| 82 | + 'OCP::image_path' => '8.0.0', |
|
| 83 | + 'OCP::mimetype_icon' => '8.0.0', |
|
| 84 | + 'OCP::preview_icon' => '8.0.0', |
|
| 85 | + 'OCP::publicPreview_icon' => '8.0.0', |
|
| 86 | + 'OCP::human_file_size' => '8.0.0', |
|
| 87 | + 'OCP::relative_modified_date' => '8.0.0', |
|
| 88 | + 'OCP::simple_file_size' => '8.0.0', |
|
| 89 | + 'OCP::html_select_options' => '8.0.0', |
|
| 90 | + ]; |
|
| 91 | + } |
|
| 92 | + |
|
| 93 | + /** |
|
| 94 | + * @return array E.g.: `'ClassName::methodName' => 'oc version',` |
|
| 95 | + */ |
|
| 96 | + protected function getLocalMethods() { |
|
| 97 | + return [ |
|
| 98 | + 'OC_L10N::get' => '8.2.0', |
|
| 99 | + |
|
| 100 | + 'OCP\Activity\IManager::publishActivity' => '8.2.0', |
|
| 101 | + |
|
| 102 | + 'OCP\App::register' => '8.1.0', |
|
| 103 | + 'OCP\App::addNavigationEntry' => '8.1.0', |
|
| 104 | + 'OCP\App::getActiveNavigationEntry' => '8.2.0', |
|
| 105 | + 'OCP\App::setActiveNavigationEntry' => '8.1.0', |
|
| 106 | + 'OCP\App::registerPersonal' => '14.0.0', |
|
| 107 | + 'OCP\App::registerAdmin' => '14.0.0', |
|
| 108 | + 'OC_App::getAppInfo' => '14.0.0', |
|
| 109 | + 'OCP\App::getAppInfo' => '14.0.0', |
|
| 110 | + 'OC_App::getAppVersion' => '14.0.0', |
|
| 111 | + 'OCP\App::getAppVersion' => '14.0.0', |
|
| 112 | + 'OCP\App::registerPersonal' => '14.0.0', |
|
| 113 | + |
|
| 114 | + 'OCP\AppFramework\Controller::params' => '7.0.0', |
|
| 115 | + 'OCP\AppFramework\Controller::getParams' => '7.0.0', |
|
| 116 | + 'OCP\AppFramework\Controller::method' => '7.0.0', |
|
| 117 | + 'OCP\AppFramework\Controller::getUploadedFile' => '7.0.0', |
|
| 118 | + 'OCP\AppFramework\Controller::env' => '7.0.0', |
|
| 119 | + 'OCP\AppFramework\Controller::cookie' => '7.0.0', |
|
| 120 | + 'OCP\AppFramework\Controller::render' => '7.0.0', |
|
| 121 | + |
|
| 122 | + 'OCP\AppFramework\IAppContainer::getCoreApi' => '8.0.0', |
|
| 123 | + 'OCP\AppFramework\IAppContainer::isLoggedIn' => '8.0.0', |
|
| 124 | + 'OCP\AppFramework\IAppContainer::isAdminUser' => '8.0.0', |
|
| 125 | + 'OCP\AppFramework\IAppContainer::log' => '8.0.0', |
|
| 126 | + |
|
| 127 | + 'OCP\BackgroundJob::registerJob' => '8.1.0', |
|
| 128 | + 'OCP\BackgroundJob::getExecutionType' => '14.0.0', |
|
| 129 | + 'OCP\BackgroundJob::setExecutionType' => '14.0.0', |
|
| 130 | + |
|
| 131 | + 'OCP\Files::tmpFile' => '8.1.0', |
|
| 132 | + 'OCP\Files::tmpFolder' => '8.1.0', |
|
| 133 | + |
|
| 134 | + 'OCP\IAppConfig::getValue' => '8.0.0', |
|
| 135 | + 'OCP\IAppConfig::deleteKey' => '8.0.0', |
|
| 136 | + 'OCP\IAppConfig::getKeys' => '8.0.0', |
|
| 137 | + 'OCP\IAppConfig::setValue' => '8.0.0', |
|
| 138 | + 'OCP\IAppConfig::deleteApp' => '8.0.0', |
|
| 139 | + |
|
| 140 | + 'OCP\IDBConnection::createQueryBuilder' => '8.2.0', |
|
| 141 | + 'OCP\IDBConnection::getExpressionBuilder' => '8.2.0', |
|
| 142 | + |
|
| 143 | + 'OCP\ISearch::search' => '8.0.0', |
|
| 144 | + |
|
| 145 | + 'OCP\IServerContainer::getCache' => '8.2.0', |
|
| 146 | + 'OCP\IServerContainer::getDb' => '8.1.0', |
|
| 147 | + 'OCP\IServerContainer::getHTTPHelper' => '8.1.0', |
|
| 148 | + |
|
| 149 | + 'OCP\Response::disableCaching' => '14.0.0', |
|
| 150 | + |
|
| 151 | + 'OCP\User::getUser' => '8.0.0', |
|
| 152 | + 'OCP\User::getUsers' => '8.1.0', |
|
| 153 | + 'OCP\User::getDisplayName' => '8.1.0', |
|
| 154 | + 'OCP\User::getDisplayNames' => '8.1.0', |
|
| 155 | + 'OCP\User::userExists' => '8.1.0', |
|
| 156 | + 'OCP\User::logout' => '8.1.0', |
|
| 157 | + 'OCP\User::checkPassword' => '8.1.0', |
|
| 158 | + 'OCP\User::isLoggedIn' => '13.0.0', |
|
| 159 | + 'OCP\User::checkAdminUser' => '13.0.0', |
|
| 160 | + 'OCP\User::checkLoggedIn' => '13.0.0', |
|
| 161 | + |
|
| 162 | + 'OCP\Util::encryptedFiles' => '8.1.0', |
|
| 163 | + 'OCP\Util::formatDate' => '8.0.0', |
|
| 164 | + 'OCP\Util::generateRandomBytes' => '8.1.0', |
|
| 165 | + 'OCP\Util::getServerHost' => '8.1.0', |
|
| 166 | + 'OCP\Util::getServerProtocol' => '8.1.0', |
|
| 167 | + 'OCP\Util::getRequestUri' => '8.1.0', |
|
| 168 | + 'OCP\Util::getScriptName' => '8.1.0', |
|
| 169 | + 'OCP\Util::imagePath' => '8.1.0', |
|
| 170 | + 'OCP\Util::isValidFileName' => '8.1.0', |
|
| 171 | + 'OCP\Util::linkToRoute' => '8.1.0', |
|
| 172 | + 'OCP\Util::linkTo' => '8.1.0', |
|
| 173 | + 'OCP\Util::logException' => '8.2.0', |
|
| 174 | + 'OCP\Util::mb_str_replace' => '8.2.0', |
|
| 175 | + 'OCP\Util::mb_substr_replace' => '8.2.0', |
|
| 176 | + 'OCP\Util::sendMail' => '8.1.0', |
|
| 177 | + 'OCP\Util::writeLog' => '13.0.0', |
|
| 178 | + |
|
| 179 | + 'OCP\Files::rmdirr' => '14.0.0', |
|
| 180 | + 'OCP\Files::getMimeType' => '14.0.0', |
|
| 181 | + 'OCP\Files::searchByMime' => '14.0.0', |
|
| 182 | + 'OCP\Files::streamCopy' => '14.0.0', |
|
| 183 | + 'OCP\Files::buildNotExistingFileName' => '14.0.0', |
|
| 184 | + 'OCP\Files::getStorage' => '14.0.0', |
|
| 185 | + ]; |
|
| 186 | + } |
|
| 187 | 187 | } |