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) { 14*a6e1db4aSAndreas 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) { 27*a6e1db4aSAndreas 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) { 41*a6e1db4aSAndreas Gohr dbg_deprecated('\\dokuwiki\\Parsing\\Lexer\\Lexer::escape()'); 424cdb6842SAndreas Gohr return \dokuwiki\Parsing\Lexer\Lexer::escape($str); 434cdb6842SAndreas Gohr} 44*a6e1db4aSAndreas Gohr 45*a6e1db4aSAndreas Gohr/** 46*a6e1db4aSAndreas Gohr * @inheritdoc 47*a6e1db4aSAndreas Gohr * @deprecated 2018-06-01 48*a6e1db4aSAndreas Gohr */ 49*a6e1db4aSAndreas Gohrclass setting extends \dokuwiki\plugin\config\core\Setting\Setting { 50*a6e1db4aSAndreas Gohr /** @inheritdoc */ 51*a6e1db4aSAndreas Gohr public function __construct($key, array $params = null) { 52*a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\plugin\config\core\Setting\Setting::class); 53*a6e1db4aSAndreas Gohr parent::__construct($key, $params); 54*a6e1db4aSAndreas Gohr } 55*a6e1db4aSAndreas Gohr} 56*a6e1db4aSAndreas Gohr 57*a6e1db4aSAndreas Gohr/** 58*a6e1db4aSAndreas Gohr * @inheritdoc 59*a6e1db4aSAndreas Gohr * @deprecated 2018-06-01 60*a6e1db4aSAndreas Gohr */ 61*a6e1db4aSAndreas Gohrclass setting_authtype extends \dokuwiki\plugin\config\core\Setting\SettingAuthtype { 62*a6e1db4aSAndreas Gohr /** @inheritdoc */ 63*a6e1db4aSAndreas Gohr public function __construct($key, array $params = null) { 64*a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\plugin\config\core\Setting\SettingAuthtype::class); 65*a6e1db4aSAndreas Gohr parent::__construct($key, $params); 66*a6e1db4aSAndreas Gohr } 67*a6e1db4aSAndreas Gohr} 68*a6e1db4aSAndreas Gohr 69*a6e1db4aSAndreas Gohr/** 70*a6e1db4aSAndreas Gohr * @inheritdoc 71*a6e1db4aSAndreas Gohr * @deprecated 2018-06-01 72*a6e1db4aSAndreas Gohr */ 73*a6e1db4aSAndreas Gohrclass setting_string extends \dokuwiki\plugin\config\core\Setting\SettingString { 74*a6e1db4aSAndreas Gohr /** @inheritdoc */ 75*a6e1db4aSAndreas Gohr public function __construct($key, array $params = null) { 76*a6e1db4aSAndreas Gohr dbg_deprecated(\dokuwiki\plugin\config\core\Setting\SettingString::class); 77*a6e1db4aSAndreas Gohr parent::__construct($key, $params); 78*a6e1db4aSAndreas Gohr } 79*a6e1db4aSAndreas Gohr} 80