Commit
commit 7d6e297bae244b6a21cd1f6661d8617432d2ad7e Author: Jan DankertDate: Tue Sep 29 22:17:11 2020 +0200 Refactoring: Do not use global constants. modules/cms/Dispatcher.class.php | 10 +- modules/cms/action/Action.class.php | 922 ++++++++++----------- modules/cms/action/ElementAction.class.php | 22 +- modules/cms/action/FileAction.class.php | 22 +- modules/cms/action/FolderAction.class.php | 10 +- modules/cms/action/GroupAction.class.php | 12 +- modules/cms/action/ImageAction.class.php | 4 +- modules/cms/action/LanguageAction.class.php | 4 +- modules/cms/action/LinkAction.class.php | 8 +- modules/cms/action/LoginAction.class.php | 72 +- modules/cms/action/ModelAction.class.php | 8 +- modules/cms/action/ObjectAction.class.php | 28 +- modules/cms/action/PageAction.class.php | 12 +- modules/cms/action/PageelementAction.class.php | 12 +- modules/cms/action/ProfileAction.class.php | 6 +- modules/cms/action/ProjectAction.class.php | 24 +- modules/cms/action/RequestParams.class.php | 353 ++++---- modules/cms/action/SearchAction.class.php | 2 +- modules/cms/action/StartAction.class.php | 55 +- modules/cms/action/TemplateAction.class.php | 22 +- modules/cms/action/TextAction.class.php | 118 ++- modules/cms/action/UrlAction.class.php | 6 +- modules/cms/action/UserAction.class.php | 10 +- modules/cms/action/UserlistAction.class.php | 2 +- modules/cms/action/WebdavAction.class.php | 4 +- modules/cms/api/API.class.php | 3 +- modules/cms/auth/RememberAuth.class.php | 2 +- modules/cms/generator/PageGenerator.class.php | 2 +- modules/cms/generator/link/PreviewLink.class.php | 4 +- modules/cms/model/Acl.class.php | 2 +- modules/cms/model/Alias.class.php | 2 +- modules/cms/model/BaseObject.class.php | 14 +- modules/cms/model/Element.class.php | 6 +- modules/cms/model/File.class.php | 9 +- modules/cms/model/Group.class.php | 4 +- modules/cms/model/Link.class.php | 2 +- modules/cms/model/Name.class.php | 2 +- modules/cms/model/Page.class.php | 2 +- modules/cms/model/Project.class.php | 6 +- modules/cms/model/Template.class.php | 2 +- modules/cms/model/User.class.php | 2 +- modules/cms/model/Value.class.php | 2 +- modules/cms/ui/UI.class.php | 2 +- modules/cms/ui/action/IndexAction.class.php | 2 +- modules/cms/ui/action/TreeAction.class.php | 3 +- .../themes/default/html/views/projectlist/show.php | 37 - modules/database/Column.class.php | 18 +- modules/database/DbVersion.class.php | 22 +- modules/database/Table.class.php | 2 +- .../components/html/form/Form.class.php | 12 +- .../components/html/link/Link.class.php | 2 +- modules/util/Html.class.php | 12 +- modules/util/Transformer.class.php | 2 +- modules/util/Tree.class.php | 31 +- .../exception/ObjectNotFoundException.class.php | 10 + 55 files changed, 953 insertions(+), 1016 deletions(-)