14cdb6842SAndreas Gohr<?php 24cdb6842SAndreas Gohr 34cdb6842SAndreas Gohr/** 44cdb6842SAndreas Gohr * These classes and functions are deprecated and will be removed in future releases 54cdb6842SAndreas Gohr */ 64cdb6842SAndreas Gohr 74cdb6842SAndreas Gohr/** 84cdb6842SAndreas Gohr * @inheritdoc 94cdb6842SAndreas Gohr * @deprecated 2018-05-07 104cdb6842SAndreas Gohr */ 114cdb6842SAndreas Gohrclass RemoteAccessDeniedException extends \dokuwiki\Remote\AccessDeniedException { 124cdb6842SAndreas Gohr /** @inheritdoc */ 134cdb6842SAndreas Gohr public function __construct($message = "", $code = 0, Throwable $previous = null) { 14a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\Remote\AccessDeniedException::class); 154cdb6842SAndreas Gohr parent::__construct($message, $code, $previous); 164cdb6842SAndreas Gohr } 174cdb6842SAndreas Gohr 184cdb6842SAndreas Gohr} 194cdb6842SAndreas Gohr 204cdb6842SAndreas Gohr/** 214cdb6842SAndreas Gohr * @inheritdoc 224cdb6842SAndreas Gohr * @deprecated 2018-05-07 234cdb6842SAndreas Gohr */ 244cdb6842SAndreas Gohrclass RemoteException extends \dokuwiki\Remote\RemoteException { 254cdb6842SAndreas Gohr /** @inheritdoc */ 264cdb6842SAndreas Gohr public function __construct($message = "", $code = 0, Throwable $previous = null) { 27a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\Remote\RemoteException::class); 284cdb6842SAndreas Gohr parent::__construct($message, $code, $previous); 294cdb6842SAndreas Gohr } 304cdb6842SAndreas Gohr 314cdb6842SAndreas Gohr} 324cdb6842SAndreas Gohr 334cdb6842SAndreas Gohr/** 344cdb6842SAndreas Gohr * Escapes regex characters other than (, ) and / 354cdb6842SAndreas Gohr * 364cdb6842SAndreas Gohr * @param string $str 374cdb6842SAndreas Gohr * @return string 384cdb6842SAndreas Gohr * @deprecated 2018-05-04 394cdb6842SAndreas Gohr */ 404cdb6842SAndreas Gohrfunction Doku_Lexer_Escape($str) { 41a6e1db4aSAndreas Gohr dbg_deprecated('\\dokuwiki\\Parsing\\Lexer\\Lexer::escape()'); 424cdb6842SAndreas Gohr return \dokuwiki\Parsing\Lexer\Lexer::escape($str); 434cdb6842SAndreas Gohr} 44a6e1db4aSAndreas Gohr 45a6e1db4aSAndreas Gohr/** 46a6e1db4aSAndreas Gohr * @inheritdoc 47a6e1db4aSAndreas Gohr * @deprecated 2018-06-01 48a6e1db4aSAndreas Gohr */ 49a6e1db4aSAndreas Gohrclass setting extends \dokuwiki\plugin\config\core\Setting\Setting { 50a6e1db4aSAndreas Gohr /** @inheritdoc */ 51a6e1db4aSAndreas Gohr public function __construct($key, array $params = null) { 52a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\plugin\config\core\Setting\Setting::class); 53a6e1db4aSAndreas Gohr parent::__construct($key, $params); 54a6e1db4aSAndreas Gohr } 55a6e1db4aSAndreas Gohr} 56a6e1db4aSAndreas Gohr 57a6e1db4aSAndreas Gohr/** 58a6e1db4aSAndreas Gohr * @inheritdoc 59a6e1db4aSAndreas Gohr * @deprecated 2018-06-01 60a6e1db4aSAndreas Gohr */ 61a6e1db4aSAndreas Gohrclass setting_authtype extends \dokuwiki\plugin\config\core\Setting\SettingAuthtype { 62a6e1db4aSAndreas Gohr /** @inheritdoc */ 63a6e1db4aSAndreas Gohr public function __construct($key, array $params = null) { 64a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\plugin\config\core\Setting\SettingAuthtype::class); 65a6e1db4aSAndreas Gohr parent::__construct($key, $params); 66a6e1db4aSAndreas Gohr } 67a6e1db4aSAndreas Gohr} 68a6e1db4aSAndreas Gohr 69a6e1db4aSAndreas Gohr/** 70a6e1db4aSAndreas Gohr * @inheritdoc 71a6e1db4aSAndreas Gohr * @deprecated 2018-06-01 72a6e1db4aSAndreas Gohr */ 73a6e1db4aSAndreas Gohrclass setting_string extends \dokuwiki\plugin\config\core\Setting\SettingString { 74a6e1db4aSAndreas Gohr /** @inheritdoc */ 75a6e1db4aSAndreas Gohr public function __construct($key, array $params = null) { 76a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\plugin\config\core\Setting\SettingString::class); 77a6e1db4aSAndreas Gohr parent::__construct($key, $params); 78a6e1db4aSAndreas Gohr } 79a6e1db4aSAndreas Gohr} 80*0c3a5702SAndreas Gohr 81*0c3a5702SAndreas Gohr/** 82*0c3a5702SAndreas Gohr * @inheritdoc 83*0c3a5702SAndreas Gohr * @deprecated 2018-06-15 84*0c3a5702SAndreas Gohr */ 85*0c3a5702SAndreas Gohrclass PageChangelog extends \dokuwiki\ChangeLog\PageChangeLog { 86*0c3a5702SAndreas Gohr /** @inheritdoc */ 87*0c3a5702SAndreas Gohr public function __construct($id, $chunk_size = 8192) 88*0c3a5702SAndreas Gohr { 89*0c3a5702SAndreas Gohr dbg_deprecated(\dokuwiki\ChangeLog\PageChangeLog::class); 90*0c3a5702SAndreas Gohr parent::__construct($id, $chunk_size); 91*0c3a5702SAndreas Gohr } 92*0c3a5702SAndreas Gohr} 93*0c3a5702SAndreas Gohr 94*0c3a5702SAndreas Gohr/** 95*0c3a5702SAndreas Gohr * @inheritdoc 96*0c3a5702SAndreas Gohr * @deprecated 2018-06-15 97*0c3a5702SAndreas Gohr */ 98*0c3a5702SAndreas Gohrclass MediaChangelog extends \dokuwiki\ChangeLog\MediaChangeLog { 99*0c3a5702SAndreas Gohr /** @inheritdoc */ 100*0c3a5702SAndreas Gohr public function __construct($id, $chunk_size = 8192) 101*0c3a5702SAndreas Gohr { 102*0c3a5702SAndreas Gohr dbg_deprecated(\dokuwiki\ChangeLog\MediaChangeLog::class); 103*0c3a5702SAndreas Gohr parent::__construct($id, $chunk_size); 104*0c3a5702SAndreas Gohr } 105*0c3a5702SAndreas Gohr} 106