[TASK][WIP] Move classes to new locations
authorThomas Maroschik <tmaroschik@dfau.de>
Wed, 17 Oct 2012 15:23:50 +0000 (17:23 +0200)
committerThomas Maroschik <tmaroschik@dfau.de>
Wed, 17 Oct 2012 18:58:56 +0000 (20:58 +0200)
Change-Id: Iaae73adcbba323ed5ca903e38f0b2f2e06f497e7

340 files changed:
typo3/sysext/extbase/Classes/Configuration/Exception/ContainerIsLocked.php [deleted file]
typo3/sysext/extbase/Classes/Configuration/Exception/ContainerIsLockedException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Configuration/Exception/InvalidConfigurationType.php [deleted file]
typo3/sysext/extbase/Classes/Configuration/Exception/InvalidConfigurationTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchFile.php [deleted file]
typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchFileException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchOption.php [deleted file]
typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchOptionException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Configuration/Exception/ParseError.php [deleted file]
typo3/sysext/extbase/Classes/Configuration/Exception/ParseErrorException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/MVC/CLI/Command.php [deleted file]
typo3/sysext/extbase/Classes/MVC/CLI/CommandArgumentDefinition.php [deleted file]
typo3/sysext/extbase/Classes/MVC/CLI/CommandManager.php [deleted file]
typo3/sysext/extbase/Classes/MVC/CLI/Request.php [deleted file]
typo3/sysext/extbase/Classes/MVC/CLI/RequestBuilder.php [deleted file]
typo3/sysext/extbase/Classes/MVC/CLI/RequestHandler.php [deleted file]
typo3/sysext/extbase/Classes/MVC/CLI/Response.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/Argument.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/ArgumentError.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/Arguments.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/ArgumentsValidator.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/CommandController.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/CommandControllerInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/ControllerContext.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/ControllerInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/Exception/RequiredArgumentMissingException.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/FlashMessages.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Controller/MvcPropertyMappingConfiguration.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Dispatcher.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/AmbiguousCommandIdentifier.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/Command.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InfiniteLoop.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidActionName.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentMixing.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentName.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentType.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentValue.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidCommandIdentifier.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidController.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidControllerName.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidExtensionName.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidMarker.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidOrNoRequestHash.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidRequestMethod.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidRequestType.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidTemplateResource.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidUriPattern.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/InvalidViewHelper.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/NoSuchAction.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/NoSuchArgument.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/NoSuchCommand.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/NoSuchController.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/RequiredArgumentMissing.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/StopAction.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Exception/UnsupportedRequestType.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Request.php [deleted file]
typo3/sysext/extbase/Classes/MVC/RequestHandlerInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/RequestHandlerResolver.php [deleted file]
typo3/sysext/extbase/Classes/MVC/RequestInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Response.php [deleted file]
typo3/sysext/extbase/Classes/MVC/ResponseInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/AbstractView.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/EmptyView.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/NotFoundView.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/ViewInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/AbstractRequestHandler.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/BackendRequestHandler.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/FrontendRequestHandler.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/Request.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/RequestBuilder.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/Response.php [deleted file]
typo3/sysext/extbase/Classes/MVC/Web/Routing/UriBuilder.php [deleted file]
typo3/sysext/extbase/Classes/Mvc/Cli/Command.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Cli/CommandArgumentDefinition.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Cli/CommandManager.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Cli/Request.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Cli/RequestBuilder.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Cli/RequestHandler.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Cli/Response.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/Argument.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ArgumentError.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ArgumentsValidator.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/CommandControllerInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ControllerInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/Exception/RequiredArgumentMissingException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/FlashMessages.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfiguration.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Dispatcher.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/AmbiguousCommandIdentifierException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/CommandException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InfiniteLoopException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidActionNameException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidArgumentMixingException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidArgumentNameException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidArgumentTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidArgumentValueException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidCommandIdentifierException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidControllerException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidControllerNameException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidExtensionNameException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidMarkerException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidOrNoRequestHashException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidRequestMethodException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidRequestTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidTemplateResourceException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidUriPatternException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/InvalidViewHelperException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchActionException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchArgumentException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchCommandException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchControllerException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/RequiredArgumentMissingException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/StopActionException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Exception/UnsupportedRequestTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Request.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/RequestHandlerInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/RequestHandlerResolver.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/RequestInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Response.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/ResponseInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/View/AbstractView.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/View/EmptyView.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/View/NotFoundView.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/View/ViewInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/AbstractRequestHandler.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/Request.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/Response.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/CannotBuildObject.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/CannotBuildObjectException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/CannotReconstituteObject.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/CannotReconstituteObjectException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/InvalidClass.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/InvalidClassException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/InvalidObject.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/InvalidObjectConfiguration.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/InvalidObjectConfigurationException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/InvalidObjectException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/ObjectAlreadyRegistered.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/ObjectAlreadyRegisteredException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/UnknownClass.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/UnknownClassException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/UnknownInterface.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/UnknownInterfaceException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/UnresolvedDependencies.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/UnresolvedDependenciesException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Exception/WrongScope.php [deleted file]
typo3/sysext/extbase/Classes/Object/Exception/WrongScopeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Exception/IllegalObjectType.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Exception/IllegalObjectTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Exception/UnknownObject.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Exception/UnknownObjectException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/CleanStateNotMemorized.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/CleanStateNotMemorizedException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InconsistentQuerySettings.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InconsistentQuerySettingsException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidClass.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidClassException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidNumberOfConstraints.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidNumberOfConstraintsException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidPropertyType.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidPropertyTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/MissingBackend.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/MissingBackendException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/TooDirty.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/TooDirtyException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedMethod.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedMethodException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedOrder.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedOrderException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedRelation.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedRelationException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/AndInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/BindVariableValue.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/BindVariableValueInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Comparison.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/ComparisonInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Constraint.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/ConstraintInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/DynamicOperand.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/DynamicOperandInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/EquiJoinCondition.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/EquiJoinConditionInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Join.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/JoinConditionInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/JoinInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/LogicalAnd.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/LogicalNot.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/LogicalOr.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/LowerCase.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/LowerCaseInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/NotInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Operand.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/OperandInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/OrInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Ordering.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/OrderingInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/PropertyValue.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/PropertyValueInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/QueryObjectModelConstantsInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/QueryObjectModelFactory.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/QueryObjectModelFactoryInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Selector.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/SelectorInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/SourceInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/Statement.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/StaticOperand.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/StaticOperandInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/UpperCase.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/QOM/UpperCaseInterface.php [deleted file]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/AndInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/BindVariableValue.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/BindVariableValueInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ComparisonInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Constraint.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ConstraintInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/DynamicOperand.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/DynamicOperandInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/EquiJoinCondition.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/EquiJoinConditionInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Join.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/JoinConditionInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/JoinInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalAnd.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalNot.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalOr.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LowerCase.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LowerCaseInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/NotInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Operand.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/OperandInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/OrInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Ordering.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/OrderingInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/PropertyValue.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/PropertyValueInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/QueryObjectModelConstantsInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/QueryObjectModelFactory.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/QueryObjectModelFactoryInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Selector.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/SelectorInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/SourceInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Statement.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/StaticOperand.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/StaticOperandInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/UpperCase.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/UpperCaseInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Reflection/Exception/InvalidPropertyType.php [deleted file]
typo3/sysext/extbase/Classes/Reflection/Exception/InvalidPropertyTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Reflection/Exception/UnknownClass.php [deleted file]
typo3/sysext/extbase/Classes/Reflection/Exception/UnknownClassException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Security/Exception/InvalidArgumentForHashGeneration.php [deleted file]
typo3/sysext/extbase/Classes/Security/Exception/InvalidArgumentForHashGenerationException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Security/Exception/InvalidArgumentForRequestHashGeneration.php [deleted file]
typo3/sysext/extbase/Classes/Security/Exception/InvalidArgumentForRequestHashGenerationException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Security/Exception/InvalidHash.php [deleted file]
typo3/sysext/extbase/Classes/Security/Exception/InvalidHashException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Security/Exception/SyntacticallyWrongRequestHash.php [deleted file]
typo3/sysext/extbase/Classes/Security/Exception/SyntacticallyWrongRequestHashException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/ArrayUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/Arrays.php [deleted file]
typo3/sysext/extbase/Classes/Utility/Cache.php [deleted file]
typo3/sysext/extbase/Classes/Utility/CacheUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/ClassLoader.php [deleted file]
typo3/sysext/extbase/Classes/Utility/ClassLoaderUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/Debugger.php [deleted file]
typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/ExtbaseRequirementsCheck.php [deleted file]
typo3/sysext/extbase/Classes/Utility/ExtbaseRequirementsCheckUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/Extension.php [deleted file]
typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/FrontendSimulator.php [deleted file]
typo3/sysext/extbase/Classes/Utility/FrontendSimulatorUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/Localization.php [deleted file]
typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/TypeHandling.php [deleted file]
typo3/sysext/extbase/Classes/Utility/TypeHandlingUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Utility/TypoScript.php [deleted file]
typo3/sysext/extbase/Classes/Utility/TypoScriptUtility.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Exception/InvalidSubject.php [deleted file]
typo3/sysext/extbase/Classes/Validation/Exception/InvalidSubjectException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Exception/InvalidValidationConfiguration.php [deleted file]
typo3/sysext/extbase/Classes/Validation/Exception/InvalidValidationConfigurationException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Exception/InvalidValidationOptions.php [deleted file]
typo3/sysext/extbase/Classes/Validation/Exception/InvalidValidationOptionsException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Exception/NoSuchValidator.php [deleted file]
typo3/sysext/extbase/Classes/Validation/Exception/NoSuchValidatorException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Exception/NoValidatorFound.php [deleted file]
typo3/sysext/extbase/Classes/Validation/Exception/NoValidatorFoundException.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/MVC/CLI/CommandManagerTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/CLI/CommandTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/CLI/RequestBuilderTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/CLI/RequestTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/AbstractControllerTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ActionControllerTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentBehaviorBeforeExtbase14Test.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentsTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Controller/CommandControllerTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/DispatcherTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Fixture/CLI/Command/MockCommandController.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/RequestTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Web/RequestBuilderTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Web/RequestTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/MVC/Web/Routing/UriBuilderTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandManagerTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/RequestBuilderTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/RequestTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/AbstractControllerTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentBehaviorBeforeExtbase14Test.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentsTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/CommandControllerTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/DispatcherTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Fixture/CLI/Command/MockCommandController.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Utility/ArrayUtilityTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Utility/ArraysTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php [new file with mode: 0644]

diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/ContainerIsLocked.php b/typo3/sysext/extbase/Classes/Configuration/Exception/ContainerIsLocked.php
deleted file mode 100644 (file)
index bbb19b4..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * @version $Id$
- */
-
-/**
- * A Container Is Locked exception
- *
- * @package Extbase
- * @subpackage Configuration\Exception
- * @version $ID:$
- */
-class Tx_Extbase_Configuration_Exception_ContainerIsLocked extends Tx_Extbase_Configuration_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/ContainerIsLockedException.php b/typo3/sysext/extbase/Classes/Configuration/Exception/ContainerIsLockedException.php
new file mode 100644 (file)
index 0000000..bbb19b4
--- /dev/null
@@ -0,0 +1,43 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+*  All rights reserved
+*
+*  This class is a backport of the corresponding class of FLOW3.
+*  All credits go to the v5 team.
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * @version $Id$
+ */
+
+/**
+ * A Container Is Locked exception
+ *
+ * @package Extbase
+ * @subpackage Configuration\Exception
+ * @version $ID:$
+ */
+class Tx_Extbase_Configuration_Exception_ContainerIsLocked extends Tx_Extbase_Configuration_Exception {
+
+}
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/InvalidConfigurationType.php b/typo3/sysext/extbase/Classes/Configuration/Exception/InvalidConfigurationType.php
deleted file mode 100644 (file)
index ad6eb0a..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * @version $Id$
- */
-
-/**
- * An Invalid Configuration Type Exception
- *
- * @package Extbase
- * @subpackage Configuration\Exception
- * @version $ID:$
- */
-class Tx_Extbase_Configuration_Exception_InvalidConfigurationType extends Tx_Extbase_Configuration_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/InvalidConfigurationTypeException.php b/typo3/sysext/extbase/Classes/Configuration/Exception/InvalidConfigurationTypeException.php
new file mode 100644 (file)
index 0000000..ad6eb0a
--- /dev/null
@@ -0,0 +1,43 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+*  All rights reserved
+*
+*  This class is a backport of the corresponding class of FLOW3.
+*  All credits go to the v5 team.
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * @version $Id$
+ */
+
+/**
+ * An Invalid Configuration Type Exception
+ *
+ * @package Extbase
+ * @subpackage Configuration\Exception
+ * @version $ID:$
+ */
+class Tx_Extbase_Configuration_Exception_InvalidConfigurationType extends Tx_Extbase_Configuration_Exception {
+
+}
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchFile.php b/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchFile.php
deleted file mode 100644 (file)
index 200de25..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * @version $Id$
- */
-
-/**
- * A No Such File exception
- *
- * @package Extbase
- * @subpackage Configuration\Exception
- * @version $ID:$
- */
-class Tx_Extbase_Configuration_Exception_NoSuchFile extends Tx_Extbase_Configuration_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchFileException.php b/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchFileException.php
new file mode 100644 (file)
index 0000000..200de25
--- /dev/null
@@ -0,0 +1,43 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+*  All rights reserved
+*
+*  This class is a backport of the corresponding class of FLOW3.
+*  All credits go to the v5 team.
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * @version $Id$
+ */
+
+/**
+ * A No Such File exception
+ *
+ * @package Extbase
+ * @subpackage Configuration\Exception
+ * @version $ID:$
+ */
+class Tx_Extbase_Configuration_Exception_NoSuchFile extends Tx_Extbase_Configuration_Exception {
+
+}
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchOption.php b/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchOption.php
deleted file mode 100644 (file)
index a5f1a07..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * @version $Id$
- */
-
-/**
- * A No Such Option exception
- *
- * @package Extbase
- * @subpackage Configuration\Exception
- * @version $ID:$
- */
-class Tx_Extbase_Configuration_Exception_NoSuchOption extends Tx_Extbase_Configuration_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchOptionException.php b/typo3/sysext/extbase/Classes/Configuration/Exception/NoSuchOptionException.php
new file mode 100644 (file)
index 0000000..a5f1a07
--- /dev/null
@@ -0,0 +1,43 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+*  All rights reserved
+*
+*  This class is a backport of the corresponding class of FLOW3.
+*  All credits go to the v5 team.
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * @version $Id$
+ */
+
+/**
+ * A No Such Option exception
+ *
+ * @package Extbase
+ * @subpackage Configuration\Exception
+ * @version $ID:$
+ */
+class Tx_Extbase_Configuration_Exception_NoSuchOption extends Tx_Extbase_Configuration_Exception {
+
+}
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/ParseError.php b/typo3/sysext/extbase/Classes/Configuration/Exception/ParseError.php
deleted file mode 100644 (file)
index f59e950..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * @version $Id$
- */
-
-/**
- * A Parse Error exception
- *
- * @package Extbase
- * @subpackage Configuration\Exception
- * @version $ID:$
- */
-class Tx_Extbase_Configuration_Exception_ParseError extends Tx_Extbase_Configuration_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/Configuration/Exception/ParseErrorException.php b/typo3/sysext/extbase/Classes/Configuration/Exception/ParseErrorException.php
new file mode 100644 (file)
index 0000000..f59e950
--- /dev/null
@@ -0,0 +1,43 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+*  All rights reserved
+*
+*  This class is a backport of the corresponding class of FLOW3.
+*  All credits go to the v5 team.
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * @version $Id$
+ */
+
+/**
+ * A Parse Error exception
+ *
+ * @package Extbase
+ * @subpackage Configuration\Exception
+ * @version $ID:$
+ */
+class Tx_Extbase_Configuration_Exception_ParseError extends Tx_Extbase_Configuration_Exception {
+
+}
+
+?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/Command.php b/typo3/sysext/extbase/Classes/MVC/CLI/Command.php
deleted file mode 100644 (file)
index 51de74f..0000000
+++ /dev/null
@@ -1,249 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Represents a Command
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_CLI_Command {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var string
-        */
-       protected $controllerClassName;
-
-       /**
-        * @var string
-        */
-       protected $controllerCommandName;
-
-       /**
-        * @var string
-        */
-       protected $commandIdentifier;
-
-       /**
-        * @var Tx_Extbase_Reflection_MethodReflection
-        */
-       protected $commandMethodReflection;
-
-       /**
-        * Reflection service
-        * @var Tx_Extbase_Reflection_Service
-        */
-       private $reflectionService;
-
-       /**
-        * Constructor
-        *
-        * @param string $controllerClassName Class name of the controller providing the command
-        * @param string $controllerCommandName Command name, i.e. the method name of the command, without the "Command" suffix
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function __construct($controllerClassName, $controllerCommandName) {
-               $this->controllerClassName = $controllerClassName;
-               $this->controllerCommandName = $controllerCommandName;
-
-               $classNameParts = explode('_', $controllerClassName);
-               if (count($classNameParts) !== 4 || strpos($classNameParts[3], 'CommandController') === FALSE) {
-                       throw new InvalidArgumentException('Invalid controller class name "' . $controllerClassName . '"', 1305100019);
-               }
-               $extensionKey = t3lib_div::camelCaseToLowerCaseUnderscored($classNameParts[1]);
-               $this->commandIdentifier = strtolower($extensionKey . ':' . substr($classNameParts[3], 0, -17) . ':' . $controllerCommandName);
-       }
-
-       /**
-        * @param Tx_Extbase_Reflection_Service $reflectionService Reflection service
-        */
-       public function injectReflectionService(Tx_Extbase_Reflection_Service $reflectionService) {
-               $this->reflectionService = $reflectionService;
-       }
-
-       /**
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager A reference to the object manager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * @return string
-        */
-       public function getControllerClassName() {
-               return $this->controllerClassName;
-       }
-
-       /**
-        * @return string
-        */
-       public function getControllerCommandName() {
-               return $this->controllerCommandName;
-       }
-
-       /**
-        * Returns the command identifier for this command
-        *
-        * @return string The command identifier for this command, following the pattern extensionname:controllername:commandname
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function getCommandIdentifier() {
-               return $this->commandIdentifier;
-       }
-
-       /**
-        * Returns a short description of this command
-        *
-        * @return string A short description
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function getShortDescription() {
-               $lines = explode(chr(10), $this->getCommandMethodReflection()->getDescription());
-               return (count($lines) > 0) ? trim($lines[0]) : '<no description available>';
-       }
-
-       /**
-        * Returns a longer description of this command
-        * This is the complete method description except for the first line which can be retrieved via getShortDescription()
-        * If The command description only consists of one line, an empty string is returned
-        *
-        * @return string A longer description of this command
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       public function getDescription() {
-               $lines = explode(chr(10), $this->getCommandMethodReflection()->getDescription());
-               array_shift($lines);
-               $descriptionLines = array();
-               foreach ($lines as $line) {
-                       $trimmedLine = trim($line);
-                       if ($descriptionLines !== array() || $trimmedLine !== '') {
-                               $descriptionLines[] = $trimmedLine;
-                       }
-               }
-               return implode(chr(10), $descriptionLines);
-       }
-
-       /**
-        * Returns TRUE if this command expects required and/or optional arguments, otherwise FALSE
-        *
-        * @return boolean
-        */
-       public function hasArguments() {
-               return count($this->getCommandMethodReflection()->getParameters()) > 0;
-       }
-
-       /**
-        * Returns an array of Tx_Extbase_MVC_CLI_CommandArgumentDefinition that contains
-        * information about required/optional arguments of this command.
-        * If the command does not expect any arguments, an empty array is returned
-        *
-        * @return array<Tx_Extbase_MVC_CLI_CommandArgumentDefinition>
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       public function getArgumentDefinitions() {
-               if (!$this->hasArguments()) {
-                       return array();
-               }
-               $commandArgumentDefinitions = array();
-               $commandMethodReflection = $this->getCommandMethodReflection();
-               $annotations = $commandMethodReflection->getTagsValues();
-               $commandParameters = $this->reflectionService->getMethodParameters($this->controllerClassName, $this->controllerCommandName . 'Command');
-               $i = 0;
-               foreach ($commandParameters as $commandParameterName => $commandParameterDefinition) {
-                       $explodedAnnotation = explode(' ', $annotations['param'][$i]);
-                       array_shift($explodedAnnotation);
-                       array_shift($explodedAnnotation);
-                       $description = implode(' ', $explodedAnnotation);
-                       $required = $commandParameterDefinition['optional'] !== TRUE;
-                       $commandArgumentDefinitions[] = $this->objectManager->get('Tx_Extbase_MVC_CLI_CommandArgumentDefinition', $commandParameterName, $required, $description);
-                       $i ++;
-               }
-               return $commandArgumentDefinitions;
-       }
-
-       /**
-        * Tells if this command is internal and thus should not be exposed through help texts, user documentation etc.
-        * Internall commands are still accessible through the regular command line interface, but should not be used
-        * by users.
-        *
-        * @return boolean
-        * @author Robert Lemke <robert@typo3.org>
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       public function isInternal() {
-               return $this->getCommandMethodReflection()->isTaggedWith('internal');
-       }
-
-       /**
-        * Tells if this command flushes all caches and thus needs special attention in the interactive shell.
-        *
-        * Note that neither this method nor the @flushesCaches annotation is currently part of the official API.
-        *
-        * @return boolean
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function isFlushingCaches() {
-               return $this->getCommandMethodReflection()->isTaggedWith('flushesCaches');
-       }
-
-       /**
-        * Returns an array of command identifiers which were specified in the "@see"
-        * annotation of a command method.
-        *
-        * @return array
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function getRelatedCommandIdentifiers() {
-               $commandMethodReflection = $this->getCommandMethodReflection();
-               if (!$commandMethodReflection->isTaggedWith('see')) {
-                       return array();
-               }
-
-               $relatedCommandIdentifiers = array();
-               foreach ($commandMethodReflection->getTagValues('see') as $tagValue) {
-                       if (preg_match('/^[\w\d\.]+:[\w\d]+:[\w\d]+$/', $tagValue) === 1) {
-                               $relatedCommandIdentifiers[] = $tagValue;
-                       }
-               }
-               return $relatedCommandIdentifiers;
-       }
-
-       /**
-        * @return Tx_Extbase_Reflection_MethodReflection
-        */
-       protected function getCommandMethodReflection() {
-               if ($this->commandMethodReflection === NULL) {
-                       $this->commandMethodReflection = $this->objectManager->get('Tx_Extbase_Reflection_MethodReflection', $this->controllerClassName, $this->controllerCommandName . 'Command');
-               }
-               return $this->commandMethodReflection;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/CommandArgumentDefinition.php b/typo3/sysext/extbase/Classes/MVC/CLI/CommandArgumentDefinition.php
deleted file mode 100644 (file)
index e30e2e1..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Represents a CommandArgumentDefinition
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_CLI_CommandArgumentDefinition {
-
-       /**
-        * @var string
-        */
-       protected $name = '';
-
-       /**
-        * @var boolean
-        */
-       protected $required = FALSE;
-
-       /**
-        * @var string
-        */
-       protected $description = '';
-
-       /**
-        * Constructor
-        *
-        * @param string $name name of the command argument (= parameter name)
-        * @param boolean $required defines whether this argument is required or optional
-        * @param string $description description of the argument
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       public function __construct($name, $required, $description) {
-               $this->name = $name;
-               $this->required = $required;
-               $this->description = $description;
-       }
-
-       /**
-        * @return string
-        */
-       public function getName() {
-               return $this->name;
-       }
-
-       /**
-        * Returns the lowercased name with dashes as word separator
-        *
-        * @return string
-        */
-       public function getDashedName() {
-               $dashedName = ucfirst($this->name);
-               $dashedName = preg_replace('/([A-Z][a-z0-9]+)/', '$1-', $dashedName);
-               return '--' . strtolower(substr($dashedName, 0, -1));
-       }
-
-       /**
-        * @return string
-        */
-       public function getDescription() {
-               return $this->description;
-       }
-
-       /**
-        * @return string
-        */
-       public function isRequired() {
-               return $this->required;
-       }
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/CommandManager.php b/typo3/sysext/extbase/Classes/MVC/CLI/CommandManager.php
deleted file mode 100644 (file)
index 10154a7..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A helper for CLI commands
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_CLI_CommandManager implements t3lib_Singleton {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var array<Tx_Extbase_MVC_CLI_Command>
-        */
-       protected $availableCommands = NULL;
-
-       /**
-        * @var array
-        */
-       protected $shortCommandIdentifiers = NULL;
-
-       /**
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager A reference to the object manager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * Returns an array of all commands
-        *
-        * @return array<Tx_Extbase_MVC_CLI_Command>
-        * @author Robert Lemke <robert@typo3.org>
-        * @author Bastian Waidelich <bastian@typo3.org>
-        * @api
-        */
-       public function getAvailableCommands() {
-               if ($this->availableCommands === NULL) {
-                       $this->availableCommands = array();
-
-                       $commandControllerClassNames = (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) ? $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] : array());
-                       foreach ($commandControllerClassNames as $className) {
-                               if (!class_exists($className)) {
-                                       continue;
-                               }
-                               foreach (get_class_methods($className) as $methodName) {
-                                       if (substr($methodName, -7, 7) === 'Command') {
-                                               $this->availableCommands[] = $this->objectManager->get('Tx_Extbase_MVC_CLI_Command', $className, substr($methodName, 0, -7));
-                                       }
-                               }
-                       }
-               }
-               return $this->availableCommands;
-       }
-
-       /**
-        * Returns a Command that matches the given identifier.
-        * If no Command could be found a CommandNotFoundException is thrown
-        * If more than one Command matches an AmbiguousCommandIdentifierException is thrown that contains the matched Commands
-        *
-        * @param string $commandIdentifier command identifier in the format foo:bar:baz
-        * @return Tx_Extbase_MVC_CLI_Command
-        * @throws Tx_Extbase_MVC_Exception_NoSuchCommand if no matching command is available
-        * @throws Tx_Extbase_MVC_Exception_AmbiguousCommandIdentifier if more than one Command matches the identifier (the exception contains the matched commands)
-        * @api
-        */
-       public function getCommandByIdentifier($commandIdentifier) {
-               $commandIdentifier = strtolower(trim($commandIdentifier));
-               if ($commandIdentifier === 'help') {
-                       $commandIdentifier = 'extbase:help:help';
-               }
-               $matchedCommands = array();
-               $availableCommands = $this->getAvailableCommands();
-               foreach ($availableCommands as $command) {
-                       if ($this->commandMatchesIdentifier($command, $commandIdentifier)) {
-                               $matchedCommands[] = $command;
-                       }
-               }
-               if (count($matchedCommands) === 0) {
-                       throw new Tx_Extbase_MVC_Exception_NoSuchCommand('No command could be found that matches the command identifier "' . $commandIdentifier . '".', 1310556663);
-               }
-               if (count($matchedCommands) > 1) {
-                       throw new Tx_Extbase_MVC_Exception_AmbiguousCommandIdentifier('More than one command matches the command identifier "' . $commandIdentifier . '"', 1310557169, NULL, $matchedCommands);
-               }
-               return current($matchedCommands);
-       }
-
-       /**
-        * Returns the shortest, non-ambiguous command identifier for the given command
-        *
-        * @param Tx_Extbase_MVC_CLI_Command $command The command
-        * @return string The shortest possible command identifier
-        * @author Robert Lemke <robert@typo3.org>
-        * @author Bastian Waidelich <bastian@typo3.org>
-        * @api
-        */
-       public function getShortestIdentifierForCommand(Tx_Extbase_MVC_CLI_Command $command) {
-               if ($command->getCommandIdentifier() === 'extbase:help:help') {
-                       return 'help';
-               }
-               $shortCommandIdentifiers = $this->getShortCommandIdentifiers();
-               if (!isset($shortCommandIdentifiers[$command->getCommandIdentifier()])) {
-                       $command->getCommandIdentifier();
-               }
-               return $shortCommandIdentifiers[$command->getCommandIdentifier()];
-       }
-
-       /**
-        * Returns an array that contains all available command identifiers and their shortest non-ambiguous alias
-        *
-        * @return array in the format array('full.command:identifier1' => 'alias1', 'full.command:identifier2' => 'alias2')
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       protected function getShortCommandIdentifiers() {
-               if ($this->shortCommandIdentifiers === NULL) {
-                       $commandsByCommandName = array();
-                       foreach ($this->getAvailableCommands() as $availableCommand) {
-                               list($extensionKey, $controllerName, $commandName) = explode(':', $availableCommand->getCommandIdentifier());
-                               if (!isset($commandsByCommandName[$commandName])) {
-                                       $commandsByCommandName[$commandName] = array();
-                               }
-                               if (!isset($commandsByCommandName[$commandName][$controllerName])) {
-                                       $commandsByCommandName[$commandName][$controllerName] = array();
-                               }
-                               $commandsByCommandName[$commandName][$controllerName][] = $extensionKey;
-                       }
-                       foreach ($this->getAvailableCommands() as $availableCommand) {
-                               list($extensionKey, $controllerName, $commandName) = explode(':', $availableCommand->getCommandIdentifier());
-                               if (count($commandsByCommandName[$commandName][$controllerName]) > 1) {
-                                       $this->shortCommandIdentifiers[$availableCommand->getCommandIdentifier()] = sprintf('%s:%s:%s', $extensionKey, $controllerName, $commandName);;
-                               } else {
-                                       $this->shortCommandIdentifiers[$availableCommand->getCommandIdentifier()] = sprintf('%s:%s', $controllerName, $commandName);;
-                               }
-                       }
-               }
-               return $this->shortCommandIdentifiers;
-       }
-
-       /**
-        * Returns TRUE if the specified command identifier matches the identifier of the specified command.
-        * This is the case, if the identifiers are the same or if at least the last two command parts match (case sensitive).
-        *
-        * @param Tx_Extbase_MVC_CLI_Command $command
-        * @param string $commandIdentifier command identifier in the format foo:bar:baz (all lower case)
-        * @return boolean TRUE if the specified command identifier matches this commands identifier
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       protected function commandMatchesIdentifier(Tx_Extbase_MVC_CLI_Command $command, $commandIdentifier) {
-               $commandIdentifierParts = explode(':', $command->getCommandIdentifier());
-               $searchedCommandIdentifierParts = explode(':', $commandIdentifier);
-               $extensionKey = array_shift($commandIdentifierParts);
-               if (count($searchedCommandIdentifierParts) === 3) {
-                       $searchedExtensionKey = array_shift($searchedCommandIdentifierParts);
-                       if ($searchedExtensionKey !== $extensionKey) {
-                               return FALSE;
-                       }
-               }
-               if (count($searchedCommandIdentifierParts) !== 2) {
-                       return FALSE;
-               }
-               return $searchedCommandIdentifierParts === $commandIdentifierParts;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/Request.php b/typo3/sysext/extbase/Classes/MVC/CLI/Request.php
deleted file mode 100644 (file)
index cef6e76..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Represents a CLI request.
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- * @api
- */
-class Tx_Extbase_MVC_CLI_Request implements Tx_Extbase_MVC_RequestInterface {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var string
-        */
-       protected $controllerObjectName;
-
-       /**
-        * @var string
-        */
-       protected $controllerCommandName = 'default';
-
-       /**
-        * @var string Name of the extension which is supposed to handle this request.
-        */
-       protected $controllerExtensionName = NULL;
-
-       /**
-        * The arguments for this request
-        * @var array
-        */
-       protected $arguments = array();
-
-       /**
-        * @var array
-        */
-       protected $exceedingArguments = array();
-
-       /**
-        * If this request has been changed and needs to be dispatched again
-        * @var boolean
-        */
-       protected $dispatched = FALSE;
-
-       /**
-        * @var array
-        */
-       protected $commandLineArguments;
-
-       /**
-        * @var Tx_Extbase_MVC_CLI_Command | NULL
-        */
-       protected $command = NULL;
-
-       /**
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager A reference to the object manager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * Sets the dispatched flag
-        *
-        * @param boolean $flag If this request has been dispatched
-        * @return void
-        */
-       public function setDispatched($flag) {
-               $this->dispatched = $flag ? TRUE : FALSE;
-       }
-
-       /**
-        * If this request has been dispatched and addressed by the responsible
-        * controller and the response is ready to be sent.
-        *
-        * The dispatcher will try to dispatch the request again if it has not been
-        * addressed yet.
-        *
-        * @return boolean TRUE if this request has been disptached successfully
-        */
-       public function isDispatched() {
-               return $this->dispatched;
-       }
-
-       /**
-        * Sets the object name of the controller
-        *
-        * @param string $controllerObjectName The fully qualified controller object name
-        * @return void
-        */
-       public function setControllerObjectName($controllerObjectName) {
-               $matches = array();
-               preg_match('/
-                       ^Tx
-                       _(?P<extensionName>[^_]+)
-                       _
-                       (
-                               Command
-                       |
-                               (?P<subpackageKey>.+)_Controller
-                       )
-                       _(?P<controllerName>[a-z_]+)Controller
-                       $/ix', $controllerObjectName, $matches
-               );
-
-               $this->controllerExtensionName = $matches['extensionName'];
-               $this->controllerObjectName = $controllerObjectName;
-               $this->command = NULL;
-       }
-
-       /**
-        * Returns the object name of the controller
-        *
-        * @return string The controller's object name
-        */
-       public function getControllerObjectName() {
-               return $this->controllerObjectName;
-       }
-
-       /**
-        * Returns the extension name of the specified controller.
-        *
-        * @return string The extension name
-        */
-       public function getControllerExtensionName() {
-               return $this->controllerExtensionName;
-       }
-
-       /**
-        * Sets the name of the command contained in this request.
-        *
-        * Note that the command name must start with a lower case letter and is case sensitive.
-        *
-        * @param string $commandName Name of the command to execute by the controller
-        * @return void
-        */
-       public function setControllerCommandName($commandName) {
-               $this->controllerCommandName = $commandName;
-               $this->command = NULL;
-       }
-
-       /**
-        * Returns the name of the command the controller is supposed to execute.
-        *
-        * @return string Command name
-        */
-       public function getControllerCommandName() {
-               return $this->controllerCommandName;
-       }
-
-       /**
-        * Returns the command object for this request
-        *
-        * @return Tx_Extbase_MVC_CLI_Command
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function getCommand() {
-               if ($this->command === NULL) {
-                       $this->command = $this->objectManager->get('Tx_Extbase_MVC_CLI_Command', $this->controllerObjectName, $this->controllerCommandName);
-               }
-               return $this->command;
-       }
-
-       /**
-        * Sets the value of the specified argument
-        *
-        * @param string $argumentName Name of the argument to set
-        * @param mixed $value The new value
-        * @return void
-        */
-       public function setArgument($argumentName, $value) {
-               if (!is_string($argumentName) || $argumentName === '') throw new Tx_Extbase_MVC_Exception_InvalidArgumentName('Invalid argument name.', 1300893885);
-               $this->arguments[$argumentName] = $value;
-       }
-
-       /**
-        * Sets the whole arguments ArrayObject and therefore replaces any arguments
-        * which existed before.
-        *
-        * @param array $arguments An array of argument names and their values
-        * @return void
-        */
-       public function setArguments(array $arguments) {
-               $this->arguments = $arguments;
-       }
-
-       /**
-        * Returns the value of the specified argument
-        *
-        * @param string $argumentName Name of the argument
-        * @return string Value of the argument
-        * @throws Tx_Extbase_MVC_Exception_NoSuchArgument if such an argument does not exist
-        */
-       public function getArgument($argumentName) {
-               if (!isset($this->arguments[$argumentName])) throw new Tx_Extbase_MVC_Exception_NoSuchArgument('An argument "' . $argumentName . '" does not exist for this request.', 1300893886);
-               return $this->arguments[$argumentName];
-       }
-
-       /**
-        * Checks if an argument of the given name exists (is set)
-        *
-        * @param string $argumentName Name of the argument to check
-        * @return boolean TRUE if the argument is set, otherwise FALSE
-        */
-       public function hasArgument($argumentName) {
-               return isset($this->arguments[$argumentName]);
-       }
-
-       /**
-        * Returns an ArrayObject of arguments and their values
-        *
-        * @return array Array of arguments and their values (which may be arguments and values as well)
-        */
-       public function getArguments() {
-               return $this->arguments;
-       }
-
-       /**
-        * Sets the exceeding arguments
-        *
-        * @param array $exceedingArguments Numeric array of exceeding arguments
-        * @return void
-        */
-       public function setExceedingArguments(array $exceedingArguments) {
-               $this->exceedingArguments = $exceedingArguments;
-       }
-
-       /**
-        * Returns additional unnamed arguments (if any) which have been passed through the command line after all
-        * required arguments (if any) have been specified.
-        *
-        * For a command method with the signature ($argument1, $argument2) and for the command line
-        * cli_dispatch.phpsh extbase some-key someaction acme:foo --argument1 Foo --argument2 Bar baz quux
-        * this method would return array(0 => 'baz', 1 => 'quux')
-        *
-        * @return array Numeric array of exceeding argument values
-        */
-       public function getExceedingArguments() {
-               return $this->exceedingArguments;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/RequestBuilder.php b/typo3/sysext/extbase/Classes/MVC/CLI/RequestBuilder.php
deleted file mode 100644 (file)
index 88d75fb..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Builds a CLI request object from the raw command call
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_CLI_RequestBuilder {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var Tx_Extbase_Reflection_Service
-        */
-       protected $reflectionService;
-
-       /**
-        * @var Tx_Extbase_MVC_CLI_CommandManager
-        */
-       protected $commandManager;
-
-       /**
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * @param Tx_Extbase_Reflection_Service $reflectionService
-        * @return void
-        */
-       public function injectReflectionService(Tx_Extbase_Reflection_Service $reflectionService) {
-               $this->reflectionService = $reflectionService;
-       }
-
-       /**
-        * @param Tx_Extbase_MVC_CLI_CommandManager $commandManager
-        * @return void
-        */
-       public function injectCommandManager(Tx_Extbase_MVC_CLI_CommandManager $commandManager) {
-               $this->commandManager = $commandManager;
-       }
-
-       /**
-        * Builds a CLI request object from a command line.
-        *
-        * The given command line may be a string (e.g. "myextension:foo do-that-thing --force") or
-        * an array consisting of the individual parts. The array must not include the script
-        * name (like in $argv) but start with command right away.
-        *
-        * @param mixed $commandLine The command line, either as a string or as an array
-        * @return Tx_Extbase_MVC_CLI_Request The CLI request as an object
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function build($commandLine = '') {
-               $request = $this->objectManager->get('Tx_Extbase_MVC_CLI_Request');
-               $request->setControllerObjectName('Tx_Extbase_Command_HelpCommandController');
-
-               $rawCommandLineArguments = is_array($commandLine) ? $commandLine : explode(' ', $commandLine);
-               if (count($rawCommandLineArguments) === 0) {
-                       $request->setControllerCommandName('helpStub');
-                       return $request;
-               }
-               $commandIdentifier = trim(array_shift($rawCommandLineArguments));
-               try {
-                       $command = $this->commandManager->getCommandByIdentifier($commandIdentifier);
-               } catch (Tx_Extbase_MVC_Exception_Command $exception) {
-                       $request->setArgument('exception', $exception);
-                       $request->setControllerCommandName('error');
-                       return $request;
-               }
-               $controllerObjectName = $command->getControllerClassName();
-               $controllerCommandName = $command->getControllerCommandName();
-               $request->setControllerObjectName($controllerObjectName);
-               $request->setControllerCommandName($controllerCommandName);
-
-               list($commandLineArguments, $exceedingCommandLineArguments) = $this->parseRawCommandLineArguments($rawCommandLineArguments, $controllerObjectName, $controllerCommandName);
-               $request->setArguments($commandLineArguments);
-               $request->setExceedingArguments($exceedingCommandLineArguments);
-
-               return $request;
-       }
-
-       /**
-        * Takes an array of unparsed command line arguments and options and converts it separated
-        * by named arguments, options and unnamed arguments.
-        *
-        * @param array $rawCommandLineArguments The unparsed command parts (such as "--foo") as an array
-        * @param string $controllerObjectName Object name of the designated command controller
-        * @param string $controllerCommandName Command name of the recognized command (ie. method name without "Command" suffix)
-        * @return array All and exceeding command line arguments
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       protected function parseRawCommandLineArguments(array $rawCommandLineArguments, $controllerObjectName, $controllerCommandName) {
-               $commandLineArguments = array();
-               $exceedingArguments = array();
-               $commandMethodName = $controllerCommandName . 'Command';
-               $commandMethodParameters = $this->reflectionService->getMethodParameters($controllerObjectName, $commandMethodName);
-
-               $requiredArguments = array();
-               $optionalArguments = array();
-               $argumentNames = array();
-               foreach ($commandMethodParameters as $parameterName => $parameterInfo) {
-                       $argumentNames[] = $parameterName;
-                       if ($parameterInfo['optional'] === FALSE) {
-                               $requiredArguments[strtolower($parameterName)] = array('parameterName' => $parameterName, 'type' => $parameterInfo['type']);
-                       } else {
-                               $optionalArguments[strtolower($parameterName)] = array('parameterName' => $parameterName, 'type' => $parameterInfo['type']);
-                       }
-               }
-
-               $decidedToUseNamedArguments = FALSE;
-               $decidedToUseUnnamedArguments = FALSE;
-               $argumentIndex = 0;
-               while (count($rawCommandLineArguments) > 0) {
-
-                       $rawArgument = array_shift($rawCommandLineArguments);
-
-                       if ($rawArgument[0] === '-') {
-                               if ($rawArgument[1] === '-') {
-                                       $rawArgument = substr($rawArgument, 2);
-                               } else {
-                                       $rawArgument = substr($rawArgument, 1);
-                               }
-                               $argumentName = $this->extractArgumentNameFromCommandLinePart($rawArgument);
-
-                               if (isset($optionalArguments[$argumentName])) {
-                                       $argumentValue = $this->getValueOfCurrentCommandLineOption($rawArgument, $rawCommandLineArguments, $optionalArguments[$argumentName]['type']);
-                                       $commandLineArguments[$optionalArguments[$argumentName]['parameterName']] = $argumentValue;
-                               } elseif (isset($requiredArguments[$argumentName])) {
-                                       if ($decidedToUseUnnamedArguments) {
-                                               throw new Tx_Extbase_MVC_Exception_InvalidArgumentMixing(sprintf('Unexpected named argument "%s". If you use unnamed arguments, all required arguments must be passed without a name.', $argumentName), 1309971821);
-                                       }
-                                       $decidedToUseNamedArguments = TRUE;
-                                       $argumentValue = $this->getValueOfCurrentCommandLineOption($rawArgument, $rawCommandLineArguments, $requiredArguments[$argumentName]['type']);
-                                       $commandLineArguments[$requiredArguments[$argumentName]['parameterName']] = $argumentValue;
-                                       unset($requiredArguments[$argumentName]);
-                               }
-                       } else {
-                               if (count($requiredArguments) > 0) {
-                                       if ($decidedToUseNamedArguments) {
-                                               throw new Tx_Extbase_MVC_Exception_InvalidArgumentMixing(sprintf('Unexpected unnamed argument "%s". If you use named arguments, all required arguments must be passed named.', $rawArgument), 1309971820);
-                                       }
-                                       $argument = array_shift($requiredArguments);
-                                       $commandLineArguments[$argument['parameterName']] = $rawArgument;
-                                       $decidedToUseUnnamedArguments = TRUE;
-                               } else {
-                                       if ($argumentIndex < count($argumentNames)) {
-                                               $commandLineArguments[$argumentNames[$argumentIndex]] = $rawArgument;
-                                       } else {
-                                               $exceedingArguments[] = $rawArgument;
-                                       }
-                               }
-                       }
-                       $argumentIndex ++;
-               }
-
-               return array($commandLineArguments, $exceedingArguments);
-       }
-
-       /**
-        * Extracts the option or argument name from the name / value pair of a command line.
-        *
-        * @param string $commandLinePart Part of the command line, e.g. "my-important-option=SomeInterestingValue"
-        * @return string The lowercased argument name, e.g. "myimportantoption"
-        */
-       protected function extractArgumentNameFromCommandLinePart($commandLinePart) {
-               $nameAndValue = explode('=', $commandLinePart, 2);
-               return strtolower(str_replace('-', '', $nameAndValue[0]));
-       }
-
-       /**
-        * Returns the value of the first argument of the given input array. Shifts the parsed argument off the array.
-        *
-        * @param string $currentArgument The current argument
-        * @param array &$rawCommandLineArguments Array of the remaining command line arguments
-        * @param string $expectedArgumentType The expected type of the current argument, because booleans get special attention
-        * @return string The value of the first argument
-        * @author Andreas Förthner <andreas.foerthner@netlogix.de>
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       protected function getValueOfCurrentCommandLineOption($currentArgument, array &$rawCommandLineArguments, $expectedArgumentType) {
-               if ((!isset($rawCommandLineArguments[0]) && (strpos($currentArgument, '=') === FALSE)) || (isset($rawCommandLineArguments[0]) && $rawCommandLineArguments[0][0] === '-' && (strpos($currentArgument, '=') === FALSE))) {
-                       return TRUE;
-               }
-
-               if (strpos($currentArgument, '=') === FALSE) {
-                       $possibleValue = trim(array_shift($rawCommandLineArguments));
-                       if (strpos($possibleValue, '=') === FALSE) {
-                               if ($expectedArgumentType !== 'boolean') {
-                                       return $possibleValue;
-                               }
-                               if (array_search($possibleValue, array('on', '1', 'y', 'yes', 'true', 'TRUE')) !== FALSE) {
-                                       return TRUE;
-                               }
-                               if (array_search($possibleValue, array('off', '0', 'n', 'no', 'false', 'FALSE')) !== FALSE) {
-                                       return FALSE;
-                               }
-                               array_unshift($rawCommandLineArguments, $possibleValue);
-                               return TRUE;
-                       }
-                       $currentArgument .= $possibleValue;
-               }
-
-               $splitArgument = explode('=', $currentArgument, 2);
-               while ((!isset($splitArgument[1]) || trim($splitArgument[1]) === '') && count($rawCommandLineArguments) > 0) {
-                       $currentArgument .= array_shift($rawCommandLineArguments);
-                       $splitArgument = explode('=', $currentArgument);
-               }
-
-               $value = (isset($splitArgument[1])) ? $splitArgument[1] : '';
-               return $value;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/RequestHandler.php b/typo3/sysext/extbase/Classes/MVC/CLI/RequestHandler.php
deleted file mode 100644 (file)
index 0af483e..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * The generic command line interface request handler for the MVC framework.
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_CLI_RequestHandler implements Tx_Extbase_MVC_RequestHandlerInterface {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var Tx_Extbase_MVC_Dispatcher
-        */
-       protected $dispatcher;
-
-       /**
-        * @var Tx_Extbase_MVC_CLI_RequestBuilder
-        */
-       protected $requestBuilder;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_FlashMessages
-        * @deprecated since Extbase 1.1; will be removed in Extbase 6.0
-        */
-       protected $flashMessages;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_FlashMessages
-        */
-       protected $flashMessageContainer;
-
-       /**
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * @param Tx_Extbase_MVC_Controller_FlashMessages $flashMessageContainer
-        * @return void
-        */
-       public function injectFlashMessageContainer(Tx_Extbase_MVC_Controller_FlashMessages $flashMessageContainer) {
-               $this->flashMessageContainer = $flashMessageContainer;
-                       // @deprecated since Extbase 1.1; will be removed in Extbase 6.0
-               $this->flashMessages = $flashMessageContainer;
-       }
-
-       /**
-        * @param Tx_Extbase_MVC_Dispatcher $dispatcher
-        * @return void
-        */
-       public function injectDispatcher(Tx_Extbase_MVC_Dispatcher $dispatcher) {
-               $this->dispatcher = $dispatcher;
-       }
-
-       /**
-        * @param Tx_Extbase_MVC_CLI_RequestBuilder $requestBuilder
-        * @return void
-        */
-       public function injectRequestBuilder(Tx_Extbase_MVC_CLI_RequestBuilder $requestBuilder) {
-               $this->requestBuilder = $requestBuilder;
-       }
-
-       /**
-        * Handles the request
-        *
-        * @return void
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function handleRequest() {
-               $request = $this->requestBuilder->build();
-               /** @var $response Tx_Extbase_MVC_CLI_Response */
-               $response = $this->objectManager->create('Tx_Extbase_MVC_CLI_Response');
-               $this->dispatcher->dispatch($request, $response);
-               $response->send();
-       }
-
-       /**
-        * This request handler can handle any command line request.
-        *
-        * @return boolean If the request is a command line request, TRUE otherwise FALSE
-        * @author Karsten Dambekalns <karsten@typo3.org>
-        */
-       public function canHandleRequest() {
-               return (PHP_SAPI === 'cli');
-       }
-
-       /**
-        * Returns the priority - how eager the handler is to actually handle the
-        * request.
-        *
-        * @return integer The priority of the request handler.
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function getPriority() {
-               return 90;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/CLI/Response.php b/typo3/sysext/extbase/Classes/MVC/CLI/Response.php
deleted file mode 100644 (file)
index 1195bd2..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A CLI specific response implementation
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- * @scope prototype
- */
-class Tx_Extbase_MVC_CLI_Response extends Tx_Extbase_MVC_Response {
-
-       /**
-        * @var integer
-        */
-       private $exitCode = 0;
-
-       /**
-        * Sets the numerical exit code which should be returned when exiting this application.
-        *
-        * @param integer $exitCode
-        * @return void
-        * @api
-        */
-       public function setExitCode($exitCode) {
-               if (!is_integer($exitCode)) {
-                       throw new InvalidArgumentException(sprintf('Tried to set invalid exit code. The value must be integer, %s given.', gettype($exitCode)), 1312222064);
-               }
-               $this->exitCode = $exitCode;
-       }
-
-       /**
-        * Rets the numerical exit code which should be returned when exiting this application.
-        *
-        * @return integer
-        * @api
-        */
-       public function getExitCode() {
-               return $this->exitCode;
-       }
-
-       /**
-        * Renders and sends the whole web response
-        *
-        * @return void
-        * @api
-        */
-       public function send() {
-               if ($this->content !== NULL) {
-                       echo $this->getContent();
-               }
-       }
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php b/typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php
deleted file mode 100644 (file)
index 1cb9ce6..0000000
+++ /dev/null
@@ -1,416 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An abstract base class for Controllers
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $ID:$
- * @api
- */
-abstract class Tx_Extbase_MVC_Controller_AbstractController implements Tx_Extbase_MVC_Controller_ControllerInterface {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var Tx_Extbase_MVC_Web_Routing_UriBuilder
-        */
-       protected $uriBuilder;
-
-       /**
-        * @var string Key of the extension this controller belongs to
-        */
-       protected $extensionName;
-
-       /**
-        * Contains the settings of the current extension
-        *
-        * @var array
-        * @api
-        */
-       protected $settings;
-
-       /**
-        * The current request.
-        *
-        * @var Tx_Extbase_MVC_Request
-        * @api
-        */
-       protected $request;
-
-       /**
-        * The response which will be returned by this action controller
-        *
-        * @var Tx_Extbase_MVC_Response
-        * @api
-        */
-       protected $response;
-
-       /**
-        * @var Tx_Extbase_Property_Mapper
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       protected $deprecatedPropertyMapper;
-
-       /**
-        * @var Tx_Extbase_Validation_ValidatorResolver
-        */
-       protected $validatorResolver;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_Arguments Arguments passed to the controller
-        */
-       protected $arguments;
-
-       /**
-        * The results of the mapping of request arguments to controller arguments
-        * @var Tx_Extbase_Property_MappingResults
-        * @api
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       protected $argumentsMappingResults;
-
-       /**
-        * An array of supported request types. By default only web requests are supported.
-        * Modify or replace this array if your specific controller supports certain
-        * (additional) request types.
-        * @var array
-        */
-       protected $supportedRequestTypes = array('Tx_Extbase_MVC_Request');
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_ControllerContext
-        * @api
-        */
-       protected $controllerContext;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_FlashMessages
-        * @deprecated since Extbase 1.1; will be removed in Extbase 6.0
-        */
-       protected $flashMessages;
-
-       /**
-        * The flash messages. Use $this->flashMessageContainer->add(...) to add a new Flash message.
-        *
-        * @var Tx_Extbase_MVC_Controller_FlashMessages
-        * @api
-        */
-       protected $flashMessageContainer;
-
-       /**
-        * @var Tx_Extbase_Configuration_ConfigurationManagerInterface
-        */
-       protected $configurationManager;
-
-       /**
-        * Constructs the controller.
-        */
-       public function __construct() {
-               list(, $this->extensionName) = explode('_', get_class($this));
-       }
-
-       /**
-        * @param Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager
-        * @return void
-        */
-       public function injectConfigurationManager(Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager) {
-               $this->configurationManager = $configurationManager;
-               $this->settings = $this->configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS);
-       }
-
-       /**
-        * Injects the property mapper
-        *
-        * @param Tx_Extbase_Property_Mapper $deprecatedPropertyMapper The property mapper
-        * @return void
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       public function injectDeprecatedPropertyMapper(Tx_Extbase_Property_Mapper $deprecatedPropertyMapper) {
-               $this->deprecatedPropertyMapper = $deprecatedPropertyMapper;
-       }
-
-       /**
-        * Injects the object manager
-        *
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-               $this->arguments = $this->objectManager->create('Tx_Extbase_MVC_Controller_Arguments');
-       }
-
-       /**
-        * Injects the validator resolver
-        *
-        * @param Tx_Extbase_Validation_ValidatorResolver $validatorResolver
-        * @return void
-        */
-       public function injectValidatorResolver(Tx_Extbase_Validation_ValidatorResolver $validatorResolver) {
-               $this->validatorResolver = $validatorResolver;
-       }
-
-       /**
-        * Injects the flash messages container
-        *
-        * @param Tx_Extbase_MVC_Controller_FlashMessages $flashMessageContainer
-        * @return void
-        */
-       public function injectFlashMessageContainer(Tx_Extbase_MVC_Controller_FlashMessages $flashMessageContainer) {
-               $this->flashMessageContainer = $flashMessageContainer;
-                       // @deprecated since Extbase 1.1; will be removed in Extbase 6.0
-               $this->flashMessages = $flashMessageContainer;
-       }
-
-       /**
-        * Checks if the current request type is supported by the controller.
-        *
-        * If your controller only supports certain request types, either
-        * replace / modify the supporteRequestTypes property or override this
-        * method.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The current request
-        * @return boolean TRUE if this request type is supported, otherwise FALSE
-        * @api
-        */
-       public function canProcessRequest(Tx_Extbase_MVC_RequestInterface $request) {
-               foreach ($this->supportedRequestTypes as $supportedRequestType) {
-                       if ($request instanceof $supportedRequestType) return TRUE;
-               }
-               return FALSE;
-       }
-
-       /**
-        * Processes a general request. The result can be returned by altering the given response.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The request object
-        * @param Tx_Extbase_MVC_ResponseInterface $response The response, modified by this handler
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_UnsupportedRequestType if the controller doesn't support the current request type
-        * @api
-        */
-       public function processRequest(Tx_Extbase_MVC_RequestInterface $request, Tx_Extbase_MVC_ResponseInterface $response) {
-               if (!$this->canProcessRequest($request)) throw new Tx_Extbase_MVC_Exception_UnsupportedRequestType(get_class($this) . ' does not support requests of type "' . get_class($request) . '". Supported types are: ' . implode(' ', $this->supportedRequestTypes) , 1187701131);
-
-               $response->setRequest($request);
-               $this->request = $request;
-               $this->request->setDispatched(TRUE);
-               $this->response = $response;
-
-               $this->uriBuilder = $this->objectManager->create('Tx_Extbase_MVC_Web_Routing_UriBuilder');
-               $this->uriBuilder->setRequest($request);
-
-               $this->initializeControllerArgumentsBaseValidators();
-               $this->mapRequestArgumentsToControllerArguments();
-               $this->controllerContext = $this->buildControllerContext();
-       }
-
-       /**
-        * Initialize the controller context
-        *
-        * @return Tx_Extbase_MVC_Controller_ControllerContext ControllerContext to be passed to the view
-        * @api
-        */
-       protected function buildControllerContext() {
-               $controllerContext = $this->objectManager->create('Tx_Extbase_MVC_Controller_ControllerContext');
-               $controllerContext->setRequest($this->request);
-               $controllerContext->setResponse($this->response);
-               if ($this->arguments !== NULL) {
-                       $controllerContext->setArguments($this->arguments);
-               }
-               if ($this->argumentsMappingResults !== NULL) {
-                       $controllerContext->setArgumentsMappingResults($this->argumentsMappingResults);
-               }
-               $controllerContext->setUriBuilder($this->uriBuilder);
-               $controllerContext->setFlashMessageContainer($this->flashMessageContainer);
-               return $controllerContext;
-       }
-
-       /**
-        * Forwards the request to another action and / or controller.
-        *
-        * Request is directly transfered to the other action / controller
-        * without the need for a new request.
-        *
-        * @param string $actionName Name of the action to forward to
-        * @param string $controllerName Unqualified object name of the controller to forward to. If not specified, the current controller is used.
-        * @param string $extensionName Name of the extension containing the controller to forward to. If not specified, the current extension is assumed.
-        * @param array $arguments Arguments to pass to the target action
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_StopAction
-        * @see redirect()
-        * @api
-        */
-       public function forward($actionName, $controllerName = NULL, $extensionName = NULL, array $arguments = NULL) {
-               $this->request->setDispatched(FALSE);
-               $this->request->setControllerActionName($actionName);
-               if ($controllerName !== NULL) $this->request->setControllerName($controllerName);
-               if ($extensionName !== NULL) $this->request->setControllerExtensionName($extensionName);
-               if ($arguments !== NULL) $this->request->setArguments($arguments);
-               throw new Tx_Extbase_MVC_Exception_StopAction();
-       }
-
-       /**
-        * Redirects the request to another action and / or controller.
-        *
-        * Redirect will be sent to the client which then performs another request to the new URI.
-        *
-        * NOTE: This method only supports web requests and will thrown an exception
-        * if used with other request types.
-        *
-        * @param string $actionName Name of the action to forward to
-        * @param string $controllerName Unqualified object name of the controller to forward to. If not specified, the current controller is used.
-        * @param string $extensionName Name of the extension containing the controller to forward to. If not specified, the current extension is assumed.
-        * @param array $arguments Arguments to pass to the target action
-        * @param integer $pageUid Target page uid. If NULL, the current page uid is used
-        * @param integer $delay (optional) The delay in seconds. Default is no delay.
-        * @param integer $statusCode (optional) The HTTP status code for the redirect. Default is "303 See Other"
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_UnsupportedRequestType If the request is not a web request
-        * @throws Tx_Extbase_MVC_Exception_StopAction
-        * @see forward()
-        * @api
-        */
-       protected function redirect($actionName, $controllerName = NULL, $extensionName = NULL, array $arguments = NULL, $pageUid = NULL, $delay = 0, $statusCode = 303) {
-               if (!$this->request instanceof Tx_Extbase_MVC_Web_Request) throw new Tx_Extbase_MVC_Exception_UnsupportedRequestType('redirect() only supports web requests.', 1220539734);
-
-               if ($controllerName === NULL) {
-                       $controllerName = $this->request->getControllerName();
-               }
-
-               $uri = $this->uriBuilder
-                       ->reset()
-                       ->setTargetPageUid($pageUid)
-                       ->setCreateAbsoluteUri(TRUE)
-                       ->uriFor($actionName, $arguments, $controllerName, $extensionName);
-               $this->redirectToUri($uri, $delay, $statusCode);
-       }
-
-       /**
-        * Redirects the web request to another uri.
-        *
-        * NOTE: This method only supports web requests and will thrown an exception if used with other request types.
-        *
-        * @param mixed $uri A string representation of a URI
-        * @param integer $delay (optional) The delay in seconds. Default is no delay.
-        * @param integer $statusCode (optional) The HTTP status code for the redirect. Default is "303 See Other"
-        * @throws Tx_Extbase_MVC_Exception_UnsupportedRequestType If the request is not a web request
-        * @throws Tx_Extbase_MVC_Exception_StopAction
-        * @api
-        */
-       protected function redirectToUri($uri, $delay = 0, $statusCode = 303) {
-               if (!$this->request instanceof Tx_Extbase_MVC_Web_Request) throw new Tx_Extbase_MVC_Exception_UnsupportedRequestType('redirect() only supports web requests.', 1220539734);
-
-               $uri = $this->addBaseUriIfNecessary($uri);
-               $escapedUri = htmlentities($uri, ENT_QUOTES, 'utf-8');
-               $this->response->setContent('<html><head><meta http-equiv="refresh" content="' . intval($delay) . ';url=' . $escapedUri . '"/></head></html>');
-               $this->response->setStatus($statusCode);
-               $this->response->setHeader('Location', (string)$uri);
-               throw new Tx_Extbase_MVC_Exception_StopAction();
-       }
-
-       /**
-        * Adds the base uri if not already in place.
-        *
-        * @param string $uri The URI
-        * @return string
-        */
-       protected function addBaseUriIfNecessary($uri) {
-               return t3lib_div::locationHeaderUrl((string)$uri);
-       }
-
-       /**
-        * Sends the specified HTTP status immediately.
-        *
-        * NOTE: This method only supports web requests and will thrown an exception if used with other request types.
-        *
-        * @param integer $statusCode The HTTP status code
-        * @param string $statusMessage A custom HTTP status message
-        * @param string $content Body content which further explains the status
-        * @throws Tx_Extbase_MVC_Exception_UnsupportedRequestType If the request is not a web request
-        * @throws Tx_Extbase_MVC_Exception_StopAction
-        * @api
-        */
-       public function throwStatus($statusCode, $statusMessage = NULL, $content = NULL) {
-               if (!$this->request instanceof Tx_Extbase_MVC_Web_Request) throw new Tx_Extbase_MVC_Exception_UnsupportedRequestType('throwStatus() only supports web requests.', 1220539739);
-
-               $this->response->setStatus($statusCode, $statusMessage);
-               if ($content === NULL) $content = $this->response->getStatus();
-               $this->response->setContent($content);
-               throw new Tx_Extbase_MVC_Exception_StopAction();
-       }
-
-       /**
-        * Collects the base validators which were defined for the data type of each
-        * controller argument and adds them to the argument's validator chain.
-        *
-        * @return void
-        */
-       public function initializeControllerArgumentsBaseValidators() {
-               foreach ($this->arguments as $argument) {
-                       $validator = $this->validatorResolver->getBaseValidatorConjunction($argument->getDataType());
-                       if ($validator !== NULL) $argument->setValidator($validator);
-               }
-       }
-
-       /**
-        * Maps arguments delivered by the request object to the local controller arguments.
-        *
-        * @return void
-        */
-       protected function mapRequestArgumentsToControllerArguments() {
-               if ($this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) {
-                       foreach ($this->arguments as $argument) {
-                               $argumentName = $argument->getName();
-
-                               if ($this->request->hasArgument($argumentName)) {
-                                       $argument->setValue($this->request->getArgument($argumentName));
-                               } elseif ($argument->isRequired()) {
-                                       throw new Tx_Extbase_MVC_Controller_Exception_RequiredArgumentMissingException('Required argument "' . $argumentName  . '" is not set.', 1298012500);
-                               }
-                       }
-               } else {
-                       // @deprecated since Extbase 1.4, will be removed in Extbase 6.0
-                       $optionalPropertyNames = array();
-                       $allPropertyNames = $this->arguments->getArgumentNames();
-                       foreach ($allPropertyNames as $propertyName) {
-                               if ($this->arguments[$propertyName]->isRequired() === FALSE) $optionalPropertyNames[] = $propertyName;
-                       }
-
-                       $validator = $this->objectManager->create('Tx_Extbase_MVC_Controller_ArgumentsValidator');
-                       $this->deprecatedPropertyMapper->mapAndValidate($allPropertyNames, $this->request->getArguments(), $this->arguments, $optionalPropertyNames, $validator);
-
-                       $this->argumentsMappingResults = $this->deprecatedPropertyMapper->getMappingResults();
-               }
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php b/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php
deleted file mode 100644 (file)
index 8a5264e..0000000
+++ /dev/null
@@ -1,557 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A multi action controller. This is by far the most common base class for Controllers.
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $ID:$
- * @api
- */
-class Tx_Extbase_MVC_Controller_ActionController extends Tx_Extbase_MVC_Controller_AbstractController {
-
-       /**
-        * @var Tx_Extbase_Reflection_Service
-        */
-       protected $reflectionService;
-
-       /**
-        * @var Tx_Extbase_Service_CacheService
-        */
-       protected $cacheService;
-
-       /**
-        * The current view, as resolved by resolveView()
-        *
-        * @var Tx_Extbase_MVC_View_ViewInterface
-        * @api
-        */
-       protected $view = NULL;
-
-       /**
-        * Pattern after which the view object name is built if no Fluid template
-        * is found.
-        * @var string
-        * @api
-        */
-       protected $viewObjectNamePattern = 'Tx_@extension_View_@controller_@action@format';
-
-       /**
-        * A list of formats and object names of the views which should render them.
-        *
-        * Example:
-        *
-        * array('html' => 'Tx_MyExtension_View_MyHtmlView', 'json' => 'F3...
-        *
-        * @var array
-        */
-       protected $viewFormatToObjectNameMap = array();
-
-       /**
-        * The default view object to use if none of the resolved views can render
-        * a response for the current request.
-        *
-        * @var string
-        * @api
-        */
-       protected $defaultViewObjectName = 'Tx_Fluid_View_TemplateView';
-
-       /**
-        * Name of the action method
-        * @var string
-        * @api
-        */
-       protected $actionMethodName = 'indexAction';
-
-       /**
-        * Name of the special error action method which is called in case of errors
-        * @var string
-        * @api
-        */
-       protected $errorMethodName = 'errorAction';
-
-       /**
-        * @param Tx_Extbase_Reflection_Service $reflectionService
-        * @return void
-        */
-       public function injectReflectionService(Tx_Extbase_Reflection_Service $reflectionService) {
-               $this->reflectionService = $reflectionService;
-       }
-
-       /**
-        * @param Tx_Extbase_Service_CacheService $cacheService
-        * @return void
-        */
-       public function injectCacheService(Tx_Extbase_Service_CacheService $cacheService) {
-               $this->cacheService = $cacheService;
-       }
-
-       /**
-        * Checks if the current request type is supported by the controller.
-        *
-        * If your controller only supports certain request types, either
-        * replace / modify the supporteRequestTypes property or override this
-        * method.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The current request
-        * @return boolean TRUE if this request type is supported, otherwise FALSE
-        */
-       public function canProcessRequest(Tx_Extbase_MVC_RequestInterface $request) {
-               return parent::canProcessRequest($request);
-
-       }
-
-       /**
-        * Handles a request. The result output is returned by altering the given response.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The request object
-        * @param Tx_Extbase_MVC_ResponseInterface $response The response, modified by this handler
-        * @return void
-        */
-       public function processRequest(Tx_Extbase_MVC_RequestInterface $request, Tx_Extbase_MVC_ResponseInterface $response) {
-               if (!$this->canProcessRequest($request)) {
-                       throw new Tx_Extbase_MVC_Exception_UnsupportedRequestType(get_class($this) . ' does not support requests of type "' . get_class($request) . '". Supported types are: ' . implode(' ', $this->supportedRequestTypes) , 1187701131);
-               }
-
-               if ($response instanceof Tx_Extbase_MVC_Web_Response) {
-                       $response->setRequest($request);
-               }
-               $this->request = $request;
-               $this->request->setDispatched(TRUE);
-               $this->response = $response;
-
-               $this->uriBuilder = $this->objectManager->create('Tx_Extbase_MVC_Web_Routing_UriBuilder');
-               $this->uriBuilder->setRequest($request);
-
-               $this->actionMethodName = $this->resolveActionMethodName();
-
-               $this->initializeActionMethodArguments();
-               $this->initializeActionMethodValidators();
-
-               $this->initializeAction();
-               $actionInitializationMethodName = 'initialize' . ucfirst($this->actionMethodName);
-               if (method_exists($this, $actionInitializationMethodName)) {
-                       call_user_func(array($this, $actionInitializationMethodName));
-               }
-
-               $this->mapRequestArgumentsToControllerArguments();
-               $this->checkRequestHash();
-               $this->controllerContext = $this->buildControllerContext();
-               $this->view = $this->resolveView();
-               if ($this->view !== NULL) {
-                       $this->initializeView($this->view);
-               }
-               $this->callActionMethod();
-       }
-
-       /**
-        * Implementation of the arguments initilization in the action controller:
-        * Automatically registers arguments of the current action
-        *
-        * Don't override this method - use initializeAction() instead.
-        *
-        * @return void
-        * @see initializeArguments()
-        */
-       protected function initializeActionMethodArguments() {
-               $methodParameters = $this->reflectionService->getMethodParameters(get_class($this), $this->actionMethodName);
-
-               foreach ($methodParameters as $parameterName => $parameterInfo) {
-                       $dataType = NULL;
-                       if (isset($parameterInfo['type'])) {
-                               $dataType = $parameterInfo['type'];
-                       } elseif ($parameterInfo['array']) {
-                               $dataType = 'array';
-                       }
-                       if ($dataType === NULL) throw new Tx_Extbase_MVC_Exception_InvalidArgumentType('The argument type for parameter $' . $parameterName . ' of method ' . get_class($this) . '->' . $this->actionMethodName . '() could not be detected.' , 1253175643);
-
-                       $defaultValue = (isset($parameterInfo['defaultValue']) ? $parameterInfo['defaultValue'] : NULL);
-
-                       $this->arguments->addNewArgument($parameterName, $dataType, ($parameterInfo['optional'] === FALSE), $defaultValue);
-               }
-       }
-
-       /**
-        * Adds the needed valiators to the Arguments:
-        * - Validators checking the data type from the @param annotation
-        * - Custom validators specified with @validate.
-        *
-        * In case @dontvalidate is NOT set for an argument, the following two
-        * validators are also added:
-        * - Model-based validators (@validate annotations in the model)
-        * - Custom model validator classes
-        *
-        * @return void
-        */
-       protected function initializeActionMethodValidators() {
-               // TODO: still needs to be modified
-               $parameterValidators = $this->validatorResolver->buildMethodArgumentsValidatorConjunctions(get_class($this), $this->actionMethodName);
-
-               $dontValidateAnnotations = array();
-
-               if (!$this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) {
-                               // If the rewritten property mapper is *enabled*, we do not support @dontvalidate annotation, thus $dontValidateAnnotations stays empty.
-                       $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);
-                       if (isset($methodTagsValues['dontvalidate'])) {
-                               $dontValidateAnnotations = $methodTagsValues['dontvalidate'];
-                       }
-               }
-
-               foreach ($this->arguments as $argument) {
-                       $validator = $parameterValidators[$argument->getName()];
-
-                       if (array_search('$' . $argument->getName(), $dontValidateAnnotations) === FALSE) {
-                               $baseValidatorConjunction = $this->validatorResolver->getBaseValidatorConjunction($argument->getDataType());
-                               if ($baseValidatorConjunction !== NULL) {
-                                       $validator->addValidator($baseValidatorConjunction);
-                               }
-                       }
-                       $argument->setValidator($validator);
-               }
-       }
-
-       /**
-        * Resolves and checks the current action method name
-        *
-        * @return string Method name of the current action
-        * @throws Tx_Extbase_MVC_Exception_NoSuchAction if the action specified in the request object does not exist (and if there's no default action either).
-        */
-       protected function resolveActionMethodName() {
-               $actionMethodName = $this->request->getControllerActionName() . 'Action';
-               if (!method_exists($this, $actionMethodName)) throw new Tx_Extbase_MVC_Exception_NoSuchAction('An action "' . $actionMethodName . '" does not exist in controller "' . get_class($this) . '".', 1186669086);
-               return $actionMethodName;
-       }
-
-       /**
-        * Calls the specified action method and passes the arguments.
-        *
-        * If the action returns a string, it is appended to the content in the
-        * response object. If the action doesn't return anything and a valid
-        * view exists, the view is rendered automatically.
-        *
-        * @return void
-        * @api
-        */
-       protected function callActionMethod() {
-               if ($this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) {
-                               // enabled since Extbase 1.4.0.
-                       $preparedArguments = array();
-                       foreach ($this->arguments as $argument) {
-                               $preparedArguments[] = $argument->getValue();
-                       }
-
-                       $validationResult = $this->arguments->getValidationResults();
-
-                       if (!$validationResult->hasErrors()) {
-                               $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments);
-                       } else {
-                               $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);
-                               $ignoreValidationAnnotations = array();
-                               if (isset($methodTagsValues['ignorevalidation'])) {
-                                       $ignoreValidationAnnotations = $methodTagsValues['ignorevalidation'];
-                               }
-
-                                       // if there exists more errors than in ignoreValidationAnnotations_=> call error method
-                                       // else => call action method
-                               $shouldCallActionMethod = TRUE;
-                               foreach ($validationResult->getSubResults() as $argumentName => $subValidationResult) {
-                                       if (!$subValidationResult->hasErrors()) continue;
-
-                                       if (array_search('$' . $argumentName, $ignoreValidationAnnotations) !== FALSE) continue;
-
-                                       $shouldCallActionMethod = FALSE;
-                               }
-
-                               if ($shouldCallActionMethod) {
-                                       $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments);
-                               } else {
-                                       $actionResult = call_user_func(array($this, $this->errorMethodName));
-                               }
-                       }
-               } else {
-                               // @deprecated since Extbase 1.4.0, will be removed with Extbase 6.0
-                       $argumentsAreValid = TRUE;
-                       $preparedArguments = array();
-                       foreach ($this->arguments as $argument) {
-                               $preparedArguments[] = $argument->getValue();
-                       }
-
-                       if ($this->argumentsMappingResults->hasErrors()) {
-                               $actionResult = call_user_func(array($this, $this->errorMethodName));
-                       } else {
-                               $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments);
-                       }
-               }
-
-               if ($actionResult === NULL && $this->view instanceof Tx_Extbase_MVC_View_ViewInterface) {
-                       $this->response->appendContent($this->view->render());
-               } elseif (is_string($actionResult) && strlen($actionResult) > 0) {
-                       $this->response->appendContent($actionResult);
-               } elseif (is_object($actionResult) && method_exists($actionResult, '__toString')) {
-                       $this->response->appendContent((string)$actionResult);
-               }
-       }
-
-       /**
-        * Prepares a view for the current action and stores it in $this->view.
-        * By default, this method tries to locate a view with a name matching
-        * the current action.
-        *
-        * @return string
-        * @api
-        */
-       protected function resolveView() {
-               $viewObjectName = $this->resolveViewObjectName();
-               if ($viewObjectName !== FALSE) {
-                       $view = $this->objectManager->create($viewObjectName);
-                       $this->setViewConfiguration($view);
-                       if ($view->canRender($this->controllerContext) === FALSE) {
-                               unset($view);
-                       }
-               }
-               if (!isset($view) && $this->defaultViewObjectName != '') {
-                       $view = $this->objectManager->create($this->defaultViewObjectName);
-                       $this->setViewConfiguration($view);
-                       if ($view->canRender($this->controllerContext) === FALSE) {
-                               unset($view);
-                       }
-               }
-               if (!isset($view)) {
-                       $view = $this->objectManager->create('Tx_Extbase_MVC_View_NotFoundView');
-                       $view->assign('errorMessage', 'No template was found. View could not be resolved for action "' . $this->request->getControllerActionName() . '"');
-               }
-               $view->setControllerContext($this->controllerContext);
-
-               if (method_exists($view, 'injectSettings')) {
-                       $view->injectSettings($this->settings);
-               }
-               $view->initializeView(); // In FLOW3, solved through Object Lifecycle methods, we need to call it explicitely
-               $view->assign('settings', $this->settings); // same with settings injection.
-               return $view;
-       }
-
-       /**
-        * @param Tx_Extbase_MVC_View_ViewInterface $view
-        * @return void
-        */
-       protected function setViewConfiguration(Tx_Extbase_MVC_View_ViewInterface $view) {
-                       // Template Path Override
-               $extbaseFrameworkConfiguration = $this->configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
-               if (isset($extbaseFrameworkConfiguration['view']['templateRootPath'])
-                       && strlen($extbaseFrameworkConfiguration['view']['templateRootPath']) > 0
-                       && method_exists($view, 'setTemplateRootPath')) {
-                       $view->setTemplateRootPath(t3lib_div::getFileAbsFileName($extbaseFrameworkConfiguration['view']['templateRootPath']));
-               }
-               if (isset($extbaseFrameworkConfiguration['view']['layoutRootPath'])
-                       && strlen($extbaseFrameworkConfiguration['view']['layoutRootPath']) > 0
-                       && method_exists($view, 'setLayoutRootPath')) {
-                       $view->setLayoutRootPath(t3lib_div::getFileAbsFileName($extbaseFrameworkConfiguration['view']['layoutRootPath']));
-               }
-               if (isset($extbaseFrameworkConfiguration['view']['partialRootPath'])
-                       && strlen($extbaseFrameworkConfiguration['view']['partialRootPath']) > 0
-                       && method_exists($view, 'setPartialRootPath')) {
-                       $view->setPartialRootPath(t3lib_div::getFileAbsFileName($extbaseFrameworkConfiguration['view']['partialRootPath']));
-               }
-       }
-
-       /**
-        * Determines the fully qualified view object name.
-        *
-        * @return mixed The fully qualified view object name or FALSE if no matching view could be found.
-        * @api
-        */
-       protected function resolveViewObjectName() {
-               $possibleViewName = $this->viewObjectNamePattern;
-               $extensionName = $this->request->getControllerExtensionName();
-               $possibleViewName = str_replace('@extension', $extensionName, $possibleViewName);
-               $possibleViewName = str_replace('@controller', $this->request->getControllerName(), $possibleViewName);
-               $possibleViewName = str_replace('@action', ucfirst($this->request->getControllerActionName()), $possibleViewName);
-               $format = $this->request->getFormat();
-
-               $viewObjectName = str_replace('@format', ucfirst($this->request->getFormat()), $possibleViewName);
-               if (class_exists($viewObjectName) === FALSE) {
-                       $viewObjectName = str_replace('@format', '', $possibleViewName);
-               }
-               if (class_exists($viewObjectName) === FALSE && isset($this->viewFormatToObjectNameMap[$format])) {
-                       $viewObjectName = $this->viewFormatToObjectNameMap[$format];
-               }
-               return class_exists($viewObjectName) ? $viewObjectName : FALSE;
-       }
-
-       /**
-        * Initializes the view before invoking an action method.
-        *
-        * Override this method to solve assign variables common for all actions
-        * or prepare the view in another way before the action is called.
-        *
-        * @param Tx_Extbase_MVC_View_ViewInterface $view The view to be initialized
-        * @return void
-        * @api
-        */
-       protected function initializeView(Tx_Extbase_MVC_View_ViewInterface $view) {
-       }
-
-       /**
-        * Initializes the controller before invoking an action method.
-        *
-        * Override this method to solve tasks which all actions have in
-        * common.
-        *
-        * @return void
-        * @api
-        */
-       protected function initializeAction() {
-       }
-
-       /**
-        * A special action which is called if the originally intended action could
-        * not be called, for example if the arguments were not valid.
-        *
-        * The default implementation sets a flash message, request errors and forwards back
-        * to the originating action. This is suitable for most actions dealing with form input.
-        *
-        * We clear the page cache by default on an error as well, as we need to make sure the
-        * data is re-evaluated when the user changes something.
-        *
-        * @return string
-        * @api
-        */
-       protected function errorAction() {
-               $this->clearCacheOnError();
-
-               if ($this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) {
-                       $errorFlashMessage = $this->getErrorFlashMessage();
-                       if ($errorFlashMessage !== FALSE) {
-                               $this->flashMessageContainer->add($errorFlashMessage, '', t3lib_FlashMessage::ERROR);
-                       }
-
-                       $referringRequest = $this->request->getReferringRequest();
-                       if ($referringRequest !== NULL) {
-                               $originalRequest = clone $this->request;
-                               $this->request->setOriginalRequest($originalRequest);
-                               $this->request->setOriginalRequestMappingResults($this->arguments->getValidationResults());
-
-                               $this->forward($referringRequest->getControllerActionName(), $referringRequest->getControllerName(), $referringRequest->getControllerExtensionName(), $referringRequest->getArguments());
-                       }
-
-                       $message = 'An error occurred while trying to call ' . get_class($this) . '->' . $this->actionMethodName . '().' . PHP_EOL;
-                       foreach ($this->arguments->getValidationResults()->getFlattenedErrors() as $propertyPath => $errors) {
-                               foreach ($errors as $error) {
-                                       $message .= 'Error for ' . $propertyPath . ':  ' . $error->render() . PHP_EOL;
-                               }
-                       }
-
-                       return $message;
-               } else {
-                               // @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-                       $this->request->setErrors($this->argumentsMappingResults->getErrors());
-
-                       $errorFlashMessage = $this->getErrorFlashMessage();
-                       if ($errorFlashMessage !== FALSE) {
-                               $this->flashMessageContainer->add($errorFlashMessage, '', t3lib_FlashMessage::ERROR);
-                       }
-
-                       $referrer = $this->request->getInternalArgument('__referrer');
-                       if ($referrer !== NULL) {
-                               $this->forward($referrer['actionName'], $referrer['controllerName'], $referrer['extensionName'], $this->request->getArguments());
-                       }
-
-                       $message = 'An error occurred while trying to call ' . get_class($this) . '->' . $this->actionMethodName . '().' . PHP_EOL;
-                       foreach ($this->argumentsMappingResults->getErrors() as $error) {
-                               $message .= 'Error:   ' . $error->getMessage() . PHP_EOL;
-                       }
-                       foreach ($this->argumentsMappingResults->getWarnings() as $warning) {
-                               $message .= 'Warning: ' . $warning->getMessage() . PHP_EOL;
-                       }
-                       return $message;
-               }
-       }
-
-       /**
-        * A template method for displaying custom error flash messages, or to
-        * display no flash message at all on errors. Override this to customize
-        * the flash message in your action controller.
-        *
-        * @return string|boolean The flash message or FALSE if no flash message should be set
-        * @api
-        */
-       protected function getErrorFlashMessage() {
-               return 'An error occurred while trying to call ' . get_class($this) . '->' . $this->actionMethodName . '()';
-       }
-
-       /**
-        * Checks the request hash (HMAC), if arguments have been touched by the property mapper.
-        *
-        * In case the @dontverifyrequesthash-Annotation has been set, this suppresses the exception.
-        *
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_InvalidOrNoRequestHash In case request hash checking failed
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       protected function checkRequestHash() {
-               if ($this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) {
-                               // If the new property mapper is enabled, the request hash is not needed anymore.
-                       return;
-               }
-               if (!($this->request instanceof Tx_Extbase_MVC_Web_Request)) return; // We only want to check it for now for web requests.
-               if ($this->request->isHmacVerified()) return; // all good
-
-               $verificationNeeded = FALSE;
-               foreach ($this->arguments as $argument) {
-                       if ($argument->getOrigin() == Tx_Extbase_MVC_Controller_Argument::ORIGIN_NEWLY_CREATED
-                        || $argument->getOrigin() == Tx_Extbase_MVC_Controller_Argument::ORIGIN_PERSISTENCE_AND_MODIFIED) {
-                               $verificationNeeded = TRUE;
-                       }
-               }
-               if ($verificationNeeded) {
-                       $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);
-                       if (!isset($methodTagsValues['dontverifyrequesthash'])) {
-                               throw new Tx_Extbase_MVC_Exception_InvalidOrNoRequestHash('Request hash (HMAC) checking failed. The parameter __hmac was invalid or not set, and objects were modified.', 1255082824);
-                       }
-               }
-       }
-
-       /**
-        * Clear cache of current page on error. Needed because we want a re-evaluation of the data.
-        * Better would be just do delete the cache for the error action, but that is not possible right now.
-        *
-        * @return void
-        */
-       protected function clearCacheOnError() {
-               $extbaseSettings = $this->configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
-               if (isset($extbaseSettings['persistence']['enableAutomaticCacheClearing']) && $extbaseSettings['persistence']['enableAutomaticCacheClearing'] === '1') {
-                       if (isset($GLOBALS['TSFE'])) {
-                               $pageUid = $GLOBALS['TSFE']->id;
-                               $this->cacheService->clearPageCache(array($pageUid));
-                       }
-               }
-       }
-
-}
-?>
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/Argument.php b/typo3/sysext/extbase/Classes/MVC/Controller/Argument.php
deleted file mode 100644 (file)
index f768c68..0000000
+++ /dev/null
@@ -1,585 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A controller argument
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $ID:$
- * @scope prototype
- * @api
- */
-class Tx_Extbase_MVC_Controller_Argument {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var Tx_Extbase_Persistence_QueryFactory
-        */
-       protected $queryFactory;
-
-       /**
-        * @var Tx_Extbase_Configuration_ConfigurationManagerInterface
-        */
-       protected $configurationManager;
-
-       /**
-        * This is the old property mapper, which has been completely rewritten for 1.4.
-        * @var Tx_Extbase_Property_Mapper
-        */
-       protected $deprecatedPropertyMapper;
-
-       /**
-        * The new, completely rewritten property mapper since Extbase 1.4.
-        *
-        * @var Tx_Extbase_Property_PropertyMapper
-        */
-       protected $propertyMapper;
-
-       /**
-        * @var Tx_Extbase_Property_PropertyMappingConfigurationBuilder
-        */
-       protected $propertyMappingConfigurationBuilder;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_MvcPropertyMappingConfiguration
-        */
-       protected $propertyMappingConfiguration;
-
-       /**
-        * @var Tx_Extbase_Reflection_Service
-        */
-       protected $reflectionService;
-
-       /**
-        * @var Tx_Extbase_Service_TypeHandlingService
-        */
-       protected $typeHandlingService;
-
-       /**
-        * Name of this argument
-        * @var string
-        */
-       protected $name = '';
-
-       /**
-        * Short name of this argument
-        * @var string
-        */
-       protected $shortName = NULL;
-
-       /**
-        * Data type of this argument's value
-        * @var string
-        */
-       protected $dataType = NULL;
-
-       /**
-        * If the data type is an object, the class schema of the data type class is resolved
-        * @var Tx_Extbase_Reflection_ClassSchema
-        */
-       protected $dataTypeClassSchema;
-
-       /**
-        * TRUE if this argument is required
-        * @var boolean
-        */
-       protected $isRequired = FALSE;
-
-       /**
-        * Actual value of this argument
-        * @var object
-        */
-       protected $value = NULL;
-
-       /**
-        * Default value. Used if argument is optional.
-        * @var mixed
-        */
-       protected $defaultValue = NULL;
-
-       /**
-        * A custom validator, used supplementary to the base validation
-        * @var Tx_Extbase_Validation_Validator_ValidatorInterface
-        */
-       protected $validator = NULL;
-
-       /**
-        * The validation results. This can be asked if the argument has errors.
-        * @var Tx_Extbase_Error_Result
-        */
-       protected $validationResults = NULL;
-
-       /**
-        * Uid for the argument, if it has one
-        * @var string
-        */
-       protected $uid = NULL;
-
-       const ORIGIN_CLIENT = 0;
-       const ORIGIN_PERSISTENCE = 1;
-       const ORIGIN_PERSISTENCE_AND_MODIFIED = 2;
-       const ORIGIN_NEWLY_CREATED = 3;
-
-       /**
-        * The origin of the argument value. This is only meaningful after argument mapping.
-        *
-        * One of the ORIGIN_* constants above
-        * @var integer
-        */
-       protected $origin = 0;
-
-       /**
-        * @var Tx_Extbase_Persistence_ManagerInterface
-        */
-       protected $persistenceManager;
-
-       /**
-        * Constructs this controller argument
-        *
-        * @param string $name Name of this argument
-        * @param string $dataType The data type of this argument
-        * @throws InvalidArgumentException if $name is not a string or empty
-        * @api
-        */
-       public function __construct($name, $dataType) {
-               if (!is_string($name)) throw new InvalidArgumentException('$name must be of type string, ' . gettype($name) . ' given.', 1187951688);
-               if (strlen($name) === 0) throw new InvalidArgumentException('$name must be a non-empty string, ' . strlen($name) . ' characters given.', 1232551853);
-               $this->name = $name;
-               $this->dataType = $dataType;
-       }
-
-       /**
-        * Injects the object manager
-        *
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * @param Tx_Extbase_Property_Mapper $deprecatedPropertyMapper
-        * @return void
-        */
-       public function injectDeprecatedPropertyMapper(Tx_Extbase_Property_Mapper $deprecatedPropertyMapper) {
-               $this->deprecatedPropertyMapper = $deprecatedPropertyMapper;
-       }
-
-       /**
-        * @param Tx_Extbase_Property_PropertyMapper $propertyMapper
-        * @return void
-        */
-       public function injectPropertyMapper(Tx_Extbase_Property_PropertyMapper $propertyMapper) {
-               $this->propertyMapper = $propertyMapper;
-       }
-
-       /**
-        * @param Tx_Extbase_Property_PropertyMappingConfigurationBuilder $propertyMappingConfigurationBuilder
-        * @return void
-        */
-       public function injectPropertyMappingConfigurationBuilder(Tx_Extbase_Property_PropertyMappingConfigurationBuilder $propertyMappingConfigurationBuilder) {
-               $this->propertyMappingConfigurationBuilder = $propertyMappingConfigurationBuilder;
-       }
-
-       /**
-        * @param Tx_Extbase_Reflection_Service $reflectionService
-        * @return void
-        */
-       public function injectReflectionService(Tx_Extbase_Reflection_Service $reflectionService) {
-               $this->reflectionService = $reflectionService;
-               $this->dataTypeClassSchema = (strpos($this->dataType, '_') !== FALSE) ? $this->reflectionService->getClassSchema($this->dataType) : NULL;
-       }
-
-       /**
-        * Injects the Persistence Manager
-        *
-        * @param Tx_Extbase_Persistence_ManagerInterface
-        * @return void
-        */
-       public function injectPersistenceManager(Tx_Extbase_Persistence_ManagerInterface $persistenceManager) {
-               $this->persistenceManager = $persistenceManager;
-       }
-
-       /**
-        * Injects a QueryFactory instance
-        *
-        * @param Tx_Extbase_Persistence_QueryFactoryInterface $queryFactory
-        * @return void
-        */
-       public function injectQueryFactory(Tx_Extbase_Persistence_QueryFactoryInterface $queryFactory) {
-               $this->queryFactory = $queryFactory;
-       }
-
-       /**
-        * @param Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager
-        * @return void
-        */
-       public function injectConfigurationManager(Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager) {
-               $this->configurationManager = $configurationManager;
-       }
-
-       /**
-        * Initializer.
-        *
-        * @return void
-        */
-       public function initializeObject() {
-               $this->propertyMappingConfiguration = $this->propertyMappingConfigurationBuilder->build('Tx_Extbase_MVC_Controller_MvcPropertyMappingConfiguration');
-       }
-
-       /**
-        * @param Tx_Extbase_Service_TypeHandlingService $typeHandlingService
-        * @return void
-        */
-       public function injectTypeHandlingService(Tx_Extbase_Service_TypeHandlingService $typeHandlingService) {
-               $this->typeHandlingService = $typeHandlingService;
-               $this->dataType = $this->typeHandlingService->normalizeType($this->dataType);
-       }
-
-       /**
-        * Returns the name of this argument
-        *
-        * @return string This argument's name
-        * @api
-        */
-       public function getName() {
-               return $this->name;
-       }
-
-       /**
-        * Sets the short name of this argument.
-        *
-        * @param string $shortName A "short name" - a single character
-        * @return Tx_Extbase_MVC_Controller_Argument $this
-        * @throws InvalidArgumentException if $shortName is not a character
-        * @api
-        */
-       public function setShortName($shortName) {
-               if ($shortName !== NULL && (!is_string($shortName) || strlen($shortName) !== 1)) throw new InvalidArgumentException('$shortName must be a single character or NULL', 1195824959);
-               $this->shortName = $shortName;
-               return $this;
-       }
-
-       /**
-        * Returns the short name of this argument
-        *
-        * @return string This argument's short name
-        * @api
-        */
-       public function getShortName() {
-               return $this->shortName;
-       }
-
-       /**
-        * Sets the data type of this argument's value
-        *
-        * @param string $dataType The data type. Can be either a built-in type such as "Text" or "Integer" or a fully qualified object name
-        * @return Tx_Extbase_MVC_Controller_Argument $this
-        * @api
-        */
-       public function setDataType($dataType) {
-               $this->dataType = $dataType;
-               $this->dataTypeClassSchema = $this->reflectionService->getClassSchema($dataType);
-               return $this;
-       }
-
-       /**
-        * Returns the data type of this argument's value
-        *
-        * @return string The data type
-        * @api
-        */
-       public function getDataType() {
-               return $this->dataType;
-       }
-
-       /**
-        * Marks this argument to be required
-        *
-        * @param boolean $required TRUE if this argument should be required
-        * @return Tx_Extbase_MVC_Controller_Argument $this
-        * @api
-        */
-       public function setRequired($required) {
-               $this->isRequired = (boolean)$required;
-               return $this;
-       }
-
-       /**
-        * Returns TRUE if this argument is required
-        *
-        * @return boolean TRUE if this argument is required
-        * @api
-        */
-       public function isRequired() {
-               return $this->isRequired;
-       }
-
-       /**
-        * Sets the default value of the argument
-        *
-        * @param mixed $defaultValue Default value
-        * @return Tx_Extbase_MVC_Controller_Argument $this
-        * @api
-        */
-       public function setDefaultValue($defaultValue) {
-               $this->defaultValue = $defaultValue;
-               return $this;
-       }
-
-       /**
-        * Returns the default value of this argument
-        *
-        * @return mixed The default value
-        * @api
-        */
-       public function getDefaultValue() {
-               return $this->defaultValue;
-       }
-
-       /**
-        * Sets a custom validator which is used supplementary to the base validation
-        *
-        * @param Tx_Extbase_Validation_Validator_ValidatorInterface $validator The actual validator object
-        * @return Tx_Extbase_MVC_Controller_Argument Returns $this (used for fluent interface)
-        * @api
-        */
-       public function setValidator(Tx_Extbase_Validation_Validator_ValidatorInterface $validator) {
-               $this->validator = $validator;
-               return $this;
-       }
-
-       /**
-        * Create and set a validator chain
-        *
-        * @param array Object names of the validators
-        * @return Tx_Extbase_MVC_Controller_Argument Returns $this (used for fluent interface)
-        * @api
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       public function setNewValidatorConjunction(array $objectNames) {
-               if ($this->validator === NULL) {
-                       $this->validator = $this->objectManager->create('Tx_Extbase_Validation_Validator_ConjunctionValidator');
-               }
-               foreach ($objectNames as $objectName) {
-                       if (!class_exists($objectName)) {
-                               $objectName = 'Tx_Extbase_Validation_Validator_' . $objectName;
-                       }
-                       $this->validator->addValidator($this->objectManager->get($objectName));
-               }
-               return $this;
-       }
-
-       /**
-        * Returns the set validator
-        *
-        * @return Tx_Extbase_Validation_Validator_ValidatorInterface The set validator, NULL if none was set
-        * @api
-        */
-       public function getValidator() {
-               return $this->validator;
-       }
-
-       /**
-        * Get the origin of the argument value. This is only meaningful after argument mapping.
-        *
-        * @return integer one of the ORIGIN_* constants
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       public function getOrigin() {
-               return $this->origin;
-       }
-
-       /**
-        * Sets the value of this argument.
-        *
-        * @param mixed $rawValue: The value of this argument
-        * @return Tx_Extbase_MVC_Controller_Argument $this
-        * @throws Tx_Extbase_MVC_Exception_InvalidArgumentValue if the argument is not a valid object of type $dataType
-        */
-       public function setValue($rawValue) {
-               if ($this->configurationManager->isFeatureEnabled('rewrittenPropertyMapper')) {
-                       if ($rawValue === NULL) {
-                               $this->value = NULL;
-                               return $this;
-                       }
-                       if (is_object($rawValue) && $rawValue instanceof $this->dataType) {
-                               $this->value = $rawValue;
-                               return $this;
-                       }
-                       $this->value = $this->propertyMapper->convert($rawValue, $this->dataType, $this->propertyMappingConfiguration);
-                       $this->validationResults = $this->propertyMapper->getMessages();
-                       if ($this->validator !== NULL) {
-                               // TODO: Validation API has also changed!!!
-                               $validationMessages = $this->validator->validate($this->value);
-                               $this->validationResults->merge($validationMessages);
-                       }
-
-                       return $this;
-               } else {
-                       if ($rawValue === NULL || (is_object($rawValue) && $rawValue instanceof $this->dataType)) {
-                               $this->value = $rawValue;
-                       } else {
-                               $this->value = $this->transformValue($rawValue);
-                       }
-                       return $this;
-               }
-       }
-
-       /**
-        * Checks if the value is a UUID or an array but should be an object, i.e.
-        * the argument's data type class schema is set. If that is the case, this
-        * method tries to look up the corresponding object instead.
-        *
-        * Additionally, it maps arrays to objects in case it is a normal object.
-        *
-        * @param mixed $value The value of an argument
-        * @return mixed
-        * @deprecated since Extbase 1.4, will be removed in Extbase 6.0
-        */
-       protected function transformValue($value) {
-               if (!class_exists($this->dataType)) {
-                       return $value;
-               }
-               $transformedValue = NULL;
-               if ($this->dataTypeClassSchema !== NULL) {
-                       // The target object is an Entity or ValueObject.
-                       if (is_numeric($value)) {
-                               $this->origin = self::ORIGIN_PERSISTENCE;
-                               $transformedValue = $this->findObjectByUid($value);
-                       } elseif (is_array($value)) {
-                               $this->origin = self::ORIGIN_PERSISTENCE_AND_MODIFIED;
-                               $transformedValue = $this->deprecatedPropertyMapper->map(array_keys($value), $value, $this->dataType);
-                       }
-               } else {
-                       if (!is_array($value)) {
-                               throw new Tx_Extbase_MVC_Exception_InvalidArgumentValue('The value was a simple type, so we could not map it to an object. Maybe the @entity or @valueobject annotations are missing?', 1251730701);
-                       }
-                       $this->origin = self::ORIGIN_NEWLY_CREATED;
-                       $transformedValue = $this->deprecatedPropertyMapper->map(array_keys($value), $value, $this->dataType);
-               }
-
-               if (!($transformedValue instanceof $this->dataType) && ($transformedValue !== NULL || $this->isRequired())) {
-                       throw new Tx_Extbase_MVC_Exception_InvalidArgumentValue(
-                               'The value must be of type "' . $this->dataType . '", but was of type "'
-                                       . (is_object($transformedValue) ? get_class($transformedValue) : gettype($transformedValue)) . '".'
-                                               // add mappingResult errors to exception
-                                       . ($this->deprecatedPropertyMapper->getMappingResults()->hasErrors()
-                                               ? '<p>' . implode('<br />', $this->deprecatedPropertyMapper->getMappingResults()->getErrors()) . '</p>'
-                                               : ''),
-                               1251730701);
-               }
-               return $transformedValue;
-       }
-
-       /**
-        * Finds an object from the repository by searching for its technical UID.
-        *
-        * @param int $uid The object's uid
-        * @return object Either the object matching the uid or, if none or more than one object was found, NULL
-        */
-       protected function findObjectByUid($uid) {
-               $query = $this->queryFactory->create($this->dataType);
-               $query->getQuerySettings()->setRespectSysLanguage(FALSE);
-               $query->getQuerySettings()->setRespectStoragePage(FALSE);
-               return $query->matching(
-                       $query->equals('uid', $uid))
-                       ->execute()
-                       ->getFirst();
-       }
-
-       /**
-        * Returns the value of this argument
-        *
-        * @return object The value of this argument - if none was set, NULL is returned
-        * @api
-        */
-       public function getValue() {
-               if ($this->value === NULL) {
-                       return $this->defaultValue;
-               } else {
-                       return $this->value;
-               }
-       }
-
-       /**
-        * Checks if this argument has a value set.
-        *
-        * @return boolean TRUE if a value was set, otherwise FALSE
-        * @deprecated since Extbase 1.4.0, will be removed with Extbase 6.0
-        */
-       public function isValue() {
-               return $this->value !== NULL;
-       }
-
-       /**
-        * Return the Property Mapping Configuration used for this argument; can be used by the initialize*action to modify the Property Mapping.
-        *
-        * @return Tx_Extbase_MVC_Controller_MvcPropertyMappingConfiguration
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @api
-        */
-       public function getPropertyMappingConfiguration() {
-               return $this->propertyMappingConfiguration;
-       }
-
-       /**
-        * @return boolean TRUE if the argument is valid, FALSE otherwise
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @api
-        */
-       public function isValid() {
-               return !$this->validationResults->hasErrors();
-       }
-
-       /**
-        * @return array<Tx_Extbase_Error_Result> Validation errors which have occured.
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @api
-        */
-       public function getValidationResults() {
-               return $this->validationResults;
-       }
-
-       /**
-        * Returns a string representation of this argument's value
-        *
-        * @return string
-        * @api
-        */
-       public function __toString() {
-               return (string)$this->value;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/ArgumentError.php b/typo3/sysext/extbase/Classes/MVC/Controller/ArgumentError.php
deleted file mode 100644 (file)
index fbe5d9e..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-
-/**
- * This object holds validation errors for one argument.
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $Id$
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- * @scope prototype
- * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
- */
-class Tx_Extbase_MVC_Controller_ArgumentError extends Tx_Extbase_Validation_PropertyError {
-
-       /**
-        * @var string The default (english) error message.
-        */
-       protected $message = 'Validation errors for argument "%s"';
-
-       /**
-        * @var string The error code
-        */
-       protected $code = 1245107351;
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/Arguments.php b/typo3/sysext/extbase/Classes/MVC/Controller/Arguments.php
deleted file mode 100644 (file)
index 036e75c..0000000
+++ /dev/null
@@ -1,293 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A composite of controller arguments
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $ID:$
- * @scope prototype
- */
-class Tx_Extbase_MVC_Controller_Arguments extends ArrayObject {
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @var array Names of the arguments contained by this object
-        */
-       protected $argumentNames = array();
-
-       /**
-        * @var array
-        */
-       protected $argumentShortNames = array();
-
-       /**
-        * Constructor. If this one is removed, reflection breaks.
-        */
-       public function __construct() {
-               parent::__construct();
-       }
-
-       /**
-        * Injects the object manager
-        *
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * Adds or replaces the argument specified by $value. The argument's name is taken from the
-        * argument object itself, therefore the $offset does not have any meaning in this context.
-        *
-        * @param mixed $offset Offset - not used here
-        * @param mixed $value The argument
-        * @return void
-        * @throws InvalidArgumentException if the argument is not a valid Controller Argument object
-        */
-       public function offsetSet($offset, $value) {
-               if (!$value instanceof Tx_Extbase_MVC_Controller_Argument) throw new InvalidArgumentException('Controller arguments must be valid Tx_Extbase_MVC_Controller_Argument objects.', 1187953786);
-
-               $argumentName = $value->getName();
-               parent::offsetSet($argumentName, $value);
-               $this->argumentNames[$argumentName] = TRUE;
-       }
-
-       /**
-        * Sets an argument, aliased to offsetSet()
-        *
-        * @param mixed $value The value
-        * @return void
-        * @throws InvalidArgumentException if the argument is not a valid Controller Argument object
-        */
-       public function append($value) {
-               if (!$value instanceof Tx_Extbase_MVC_Controller_Argument) throw new InvalidArgumentException('Controller arguments must be valid Tx_Extbase_MVC_Controller_Argument objects.', 1187953786);
-               $this->offsetSet(NULL, $value);
-       }
-
-       /**
-        * Unsets an argument
-        *
-        * @param mixed $offset Offset
-        * @return void
-        */
-       public function offsetUnset($offset) {
-               $translatedOffset = $this->translateToLongArgumentName($offset);
-               parent::offsetUnset($translatedOffset);
-
-               unset($this->argumentNames[$translatedOffset]);
-               if ($offset != $translatedOffset) {
-                       unset($this->argumentShortNames[$offset]);
-               }
-       }
-
-       /**
-        * Returns whether the requested index exists
-        *
-        * @param mixed $offset Offset
-        * @return boolean
-        */
-       public function offsetExists($offset) {
-               $translatedOffset = $this->translateToLongArgumentName($offset);
-               return parent::offsetExists($translatedOffset);
-       }
-
-       /**
-        * Returns the value at the specified index
-        *
-        * @param mixed $offset Offset
-        * @return Tx_Extbase_MVC_Controller_Argument The requested argument object
-        * @throws Tx_Extbase_MVC_Exception_NoSuchArgument if the argument does not exist
-        */
-       public function offsetGet($offset) {
-               $translatedOffset = $this->translateToLongArgumentName($offset);
-               if ($translatedOffset === '') throw new Tx_Extbase_MVC_Exception_NoSuchArgument('The argument "' . $offset . '" does not exist.', 1216909923);
-               return parent::offsetGet($translatedOffset);
-       }
-
-       /**
-        * Creates, adds and returns a new controller argument to this composite object.
-        * If an argument with the same name exists already, it will be replaced by the
-        * new argument object.
-        *
-        * @param string $name Name of the argument
-        * @param string $dataType Name of one of the built-in data types
-        * @param boolean $isRequired TRUE if this argument should be marked as required
-        * @param mixed $defaultValue Default value of the argument. Only makes sense if $isRequired==FALSE
-        * @return Tx_Extbase_MVC_Controller_Argument The new argument
-        */
-       public function addNewArgument($name, $dataType = 'Text', $isRequired = FALSE, $defaultValue = NULL) {
-               /** @var $argument Tx_Extbase_MVC_Controller_Argument */
-               $argument = $this->objectManager->create('Tx_Extbase_MVC_Controller_Argument', $name, $dataType);
-               $argument->setRequired($isRequired);
-               $argument->setDefaultValue($defaultValue);
-               $this->addArgument($argument);
-               return $argument;
-       }
-
-       /**
-        * Adds the specified controller argument to this composite object.
-        * If an argument with the same name exists already, it will be replaced by the
-        * new argument object.
-        *
-        * Note that the argument will be cloned, not referenced.
-        *
-        * @param Tx_Extbase_MVC_Controller_Argument $argument The argument to add
-        * @return void
-        */
-       public function addArgument(Tx_Extbase_MVC_Controller_Argument $argument) {
-               $this->offsetSet(NULL, $argument);
-       }
-
-       /**
-        * Returns an argument specified by name
-        *
-        * @param string $argumentName Name of the argument to retrieve
-        * @return Tx_Extbase_MVC_Controller_Argument
-        * @throws Tx_Extbase_MVC_Exception_NoSuchArgument
-        */
-       public function getArgument($argumentName) {
-               if (!$this->offsetExists($argumentName)) throw new Tx_Extbase_MVC_Exception_NoSuchArgument('An argument "' . $argumentName . '" does not exist.', 1195815178);
-               return $this->offsetGet($argumentName);
-       }
-
-       /**
-        * Checks if an argument with the specified name exists
-        *
-        * @param string $argumentName Name of the argument to check for
-        * @return boolean TRUE if such an argument exists, otherwise FALSE
-        * @see offsetExists()
-        */
-       public function hasArgument($argumentName) {
-               return $this->offsetExists($argumentName);
-       }
-
-       /**
-        * Returns the names of all arguments contained in this object
-        *
-        * @return array Argument names
-        */
-       public function getArgumentNames() {
-               return array_keys($this->argumentNames);
-       }
-
-       /**
-        * Returns the short names of all arguments contained in this object that have one.
-        *
-        * @return array Argument short names
-        */
-       public function getArgumentShortNames() {
-               $argumentShortNames = array();
-               foreach ($this as $argument) {
-                       $argumentShortNames[$argument->getShortName()] = TRUE;
-               }
-               return array_keys($argumentShortNames);
-       }
-
-       /**
-        * Magic setter method for the argument values. Each argument
-        * value can be set by just calling the setArgumentName() method.
-        *
-        * @param string $methodName Name of the method
-        * @param array $arguments Method arguments
-        * @return void
-        */
-       public function __call($methodName, array $arguments) {
-               if (substr($methodName, 0, 3) !== 'set') throw new LogicException('Unknown method "' . $methodName . '".', 1210858451);
-
-               $firstLowerCaseArgumentName = $this->translateToLongArgumentName(strtolower($methodName{3}) . substr($methodName, 4));
-               $firstUpperCaseArgumentName = $this->translateToLongArgumentName(ucfirst(substr($methodName, 3)));
-
-               if (in_array($firstLowerCaseArgumentName, $this->getArgumentNames())) {
-                       $argument = parent::offsetGet($firstLowerCaseArgumentName);
-                       $argument->setValue($arguments[0]);
-               } elseif (in_array($firstUpperCaseArgumentName, $this->getArgumentNames())) {
-                       $argument = parent::offsetGet($firstUpperCaseArgumentName);
-                       $argument->setValue($arguments[0]);
-               }
-       }
-
-       /**
-        * Translates a short argument name to its corresponding long name. If the
-        * specified argument name is a real argument name already, it will be returned again.
-        *
-        * If an argument with the specified name or short name does not exist, an empty
-        * string is returned.
-        *
-        * @param string argument name
-        * @return string long argument name or empty string
-        */
-       protected function translateToLongArgumentName($argumentName) {
-               if (in_array($argumentName, $this->getArgumentNames())) return $argumentName;
-
-               foreach ($this as $argument) {
-                       if ($argumentName === $argument->getShortName()) return $argument->getName();
-               }
-               return '';
-       }
-
-       /**
-        * Remove all arguments and resets this object
-        *
-        * @return void
-        */
-       public function removeAll() {
-               foreach ($this->argumentNames as $argumentName => $booleanValue) {
-                       parent::offsetUnset($argumentName);
-               }
-               $this->argumentNames = array();
-       }
-
-       /**
-        * Get all property mapping / validation errors
-        *
-        * @return Tx_Extbase_Error_Result
-        */
-       public function getValidationResults() {
-               $results = new Tx_Extbase_Error_Result();
-
-               foreach ($this as $argument) {
-                       $argumentValidationResults = $argument->getValidationResults();
-                       if ($argumentValidationResults === NULL) {
-                               continue;
-                       }
-
-                       $results
-                               ->forProperty($argument->getName())
-                               ->merge($argumentValidationResults);
-               }
-
-               return $results;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/ArgumentsValidator.php b/typo3/sysext/extbase/Classes/MVC/Controller/ArgumentsValidator.php
deleted file mode 100644 (file)
index 983d52c..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A validator for controller arguments
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $ID:$
- * @scope prototype
- * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0. Is only needed for old property mapper.
- */
-class Tx_Extbase_MVC_Controller_ArgumentsValidator extends Tx_Extbase_Validation_Validator_AbstractObjectValidator {
-
-       /**
-        * Checks if the given value (ie. an Arguments object) is valid.
-        *
-        * If at least one error occurred, the result is FALSE and any errors can
-        * be retrieved through the getErrors() method.
-        *
-        * @param object $arguments The arguments object that should be validated
-        * @return boolean TRUE if all arguments are valid, FALSE if an error occured
-        */
-       public function isValid($arguments) {
-               if (!$arguments instanceof Tx_Extbase_MVC_Controller_Arguments) throw new InvalidArgumentException('Expected Tx_Extbase_MVC_Controller_Arguments, ' . gettype($arguments) . ' given.', 1241079561);
-               $this->errors = array();
-
-               $result = TRUE;
-               foreach ($arguments->getArgumentNames() as $argumentName) {
-                       if ($this->isPropertyValid($arguments, $argumentName) === FALSE) {
-                               $result = FALSE;
-                       }
-               }
-               return $result;
-       }
-
-       /**
-        * Checks the given object can be validated by the validator implementation
-        *
-        * @param object $object The object to be checked
-        * @return boolean TRUE if this validator can validate instances of the given object or FALSE if it can't
-        */
-       public function canValidate($object) {
-               return ($object instanceof Tx_Extbase_MVC_Controller_Arguments);
-       }
-
-       /**
-        * Checks if the specified property (ie. the argument) of the given arguments
-        * object is valid. Validity is checked by first invoking the validation chain
-        * defined in the argument object.
-        *
-        * If at least one error occurred, the result is FALSE.
-        *
-        * @param object $arguments The arguments object containing the property (argument) to validate
-        * @param string $argumentName Name of the property (ie. name of the argument) to validate
-        * @return boolean TRUE if the argument is valid, FALSE if an error occured
-        */
-       public function isPropertyValid($arguments, $argumentName) {
-               if (!$arguments instanceof Tx_Extbase_MVC_Controller_Arguments) throw new InvalidArgumentException('Expected Tx_Extbase_MVC_Controller_Arguments, ' . gettype($arguments) . ' given.', 1241079562);
-               $argument = $arguments[$argumentName];
-
-               $validatorConjunction = $argument->getValidator();
-               if ($validatorConjunction === NULL) return TRUE;
-
-               $argumentValue = $argument->getValue();
-               if ($argumentValue === $argument->getDefaultValue() && $argument->isRequired() === FALSE) return TRUE;
-
-               if ($validatorConjunction->isValid($argumentValue) === FALSE) {
-                       $this->addErrorsForArgument($validatorConjunction->getErrors(), $argumentName);
-                       return FALSE;
-               }
-               return TRUE;
-       }
-
-       /**
-        * Adds the given errors to $this->errors and creates an ArgumentError
-        * instance if needed.
-        *
-        * @param array $errors Array of Tx_Extbase_Validation_Error
-        * @param string $argumentName Name of the argument to add errors for
-        * @return void
-        */
-       protected function addErrorsForArgument(array $errors, $argumentName) {
-               if (!isset($this->errors[$argumentName])) {
-                       $this->errors[$argumentName] = new Tx_Extbase_MVC_Controller_ArgumentError($argumentName);
-               }
-               $this->errors[$argumentName]->addErrors($errors);
-       }
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/CommandController.php b/typo3/sysext/extbase/Classes/MVC/Controller/CommandController.php
deleted file mode 100644 (file)
index 7f063a9..0000000
+++ /dev/null
@@ -1,280 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-
-/**
- * A controller which processes requests from the command line
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_Controller_CommandController implements Tx_Extbase_MVC_Controller_CommandControllerInterface {
-
-       const MAXIMUM_LINE_LENGTH = 79;
-
-       /**
-        * @var Tx_Extbase_MVC_CLI_Request
-        */
-       protected $request;
-
-       /**
-        * @var Tx_Extbase_MVC_CLI_Response
-        */
-       protected $response;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_Arguments
-        */
-       protected $arguments;
-
-       /**
-        * Name of the command method
-        *
-        * @var string
-        */
-       protected $commandMethodName = '';
-
-       /**
-        * @var Tx_Extbase_Reflection_Service
-        */
-       protected $reflectionService;
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface
-        */
-       protected $objectManager;
-
-       /**
-        * @param Tx_Extbase_Reflection_Service $reflectionService
-        * @return void
-        */
-       public function injectReflectionService(Tx_Extbase_Reflection_Service $reflectionService) {
-               $this->reflectionService = $reflectionService;
-       }
-
-       /**
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager
-        * @return void
-        */
-       public function injectObjectManager(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-               $this->arguments = $this->objectManager->create('Tx_Extbase_MVC_Controller_Arguments');
-       }
-
-       /**
-        * Checks if the current request type is supported by the controller.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The current request
-        * @return boolean TRUE if this request type is supported, otherwise FALSE
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function canProcessRequest(Tx_Extbase_MVC_RequestInterface $request) {
-               return $request instanceof Tx_Extbase_MVC_CLI_Request;
-       }
-
-       /**
-        * Processes a command line request.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The request object
-        * @param Tx_Extbase_MVC_ResponseInterface $response The response, modified by this controller
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_UnsupportedRequestTypeException if the controller doesn't support the current request type
-        * @author Robert Lemke <robert@typo3.org>
-        * @api
-        */
-       public function processRequest(Tx_Extbase_MVC_RequestInterface $request, Tx_Extbase_MVC_ResponseInterface $response) {
-               if (!$this->canProcessRequest($request)) throw new Tx_Extbase_MVC_Exception_UnsupportedRequestType(get_class($this) . ' does not support requests of type "' . get_class($request) . '".' , 1300787096);
-
-               $this->request = $request;
-               $this->request->setDispatched(TRUE);
-               $this->response = $response;
-
-               $this->commandMethodName = $this->resolveCommandMethodName();
-               $this->initializeCommandMethodArguments();
-               $this->mapRequestArgumentsToControllerArguments();
-               $this->callCommandMethod();
-       }
-
-       /**
-        * Resolves and checks the current command method name
-        *
-        * Note: The resulting command method name might not have the correct case, which isn't a problem because PHP is
-        *       case insensitive regarding method names.
-        *
-        * @return string Method name of the current command
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       protected function resolveCommandMethodName() {
-               $commandMethodName = $this->request->getControllerCommandName() . 'Command';
-               if (!is_callable(array($this, $commandMethodName))) {
-                       throw new Tx_Extbase_MVC_Exception_NoSuchCommand('A command method "' . $commandMethodName . '()" does not exist in controller "' . get_class($this) . '".', 1300902143);
-               }
-               return $commandMethodName;
-       }
-
-       /**
-        * Initializes the arguments array of this controller by creating an empty argument object for each of the
-        * method arguments found in the designated command method.
-        *
-        * @return void
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       protected function initializeCommandMethodArguments() {
-               $methodParameters = $this->reflectionService->getMethodParameters(get_class($this), $this->commandMethodName);
-
-               foreach ($methodParameters as $parameterName => $parameterInfo) {
-                       $dataType = NULL;
-                       if (isset($parameterInfo['type'])) {
-                               $dataType = $parameterInfo['type'];
-                       } elseif ($parameterInfo['array']) {
-                               $dataType = 'array';
-                       }
-                       if ($dataType === NULL) throw new Tx_Extbase_MVC_Exception_InvalidArgumentType('The argument type for parameter $' . $parameterName . ' of method ' . get_class($this) . '->' . $this->commandMethodName . '() could not be detected.' , 1306755296);
-                       $defaultValue = (isset($parameterInfo['defaultValue']) ? $parameterInfo['defaultValue'] : NULL);
-                       $this->arguments->addNewArgument($parameterName, $dataType, ($parameterInfo['optional'] === FALSE), $defaultValue);
-               }
-       }
-
-       /**
-        * Maps arguments delivered by the request object to the local controller arguments.
-        *
-        * @return void
-        * @author Robert Lemke <robert@typo3.org>
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       protected function mapRequestArgumentsToControllerArguments() {
-               foreach ($this->arguments as $argument) {
-                       $argumentName = $argument->getName();
-
-                       if ($this->request->hasArgument($argumentName)) {
-                               $argument->setValue($this->request->getArgument($argumentName));
-                       } elseif ($argument->isRequired()) {
-                               $exception = new Tx_Extbase_MVC_Exception_Command('Required argument "' . $argumentName  . '" is not set.', 1306755520);
-                               $this->forward('error', 'Tx_Extbase_Command_HelpCommandController', array('exception' => $exception));
-                       }
-               }
-       }
-
-       /**
-        * Forwards the request to another command and / or CommandController.
-        *
-        * Request is directly transferred to the other command / controller
-        * without the need for a new request.
-        *
-        * @param string $commandName
-        * @param string $controllerObjectName
-        * @param array $arguments
-        * @return void
-        */
-       protected function forward($commandName, $controllerObjectName = NULL, array $arguments = array()) {
-               $this->request->setDispatched(FALSE);
-               $this->request->setControllerCommandName($commandName);
-               if ($controllerObjectName !== NULL) {
-                       $this->request->setControllerObjectName($controllerObjectName);
-               }
-               $this->request->setArguments($arguments);
-
-               $this->arguments->removeAll();
-               throw new Tx_Extbase_MVC_Exception_StopAction();
-       }
-
-       /**
-        * Calls the specified command method and passes the arguments.
-        *
-        * If the command returns a string, it is appended to the content in the
-        * response object. If the command doesn't return anything and a valid
-        * view exists, the view is rendered automatically.
-        *
-        * @return void
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       protected function callCommandMethod() {
-               $preparedArguments = array();
-               foreach ($this->arguments as $argument) {
-                       $preparedArguments[] = $argument->getValue();
-               }
-
-               $commandResult = call_user_func_array(array($this, $this->commandMethodName), $preparedArguments);
-
-               if (is_string($commandResult) && strlen($commandResult) > 0) {
-                       $this->response->appendContent($commandResult);
-               } elseif (is_object($commandResult) && method_exists($commandResult, '__toString')) {
-                       $this->response->appendContent((string)$commandResult);
-               }
-       }
-
-       /**
-        * Outputs specified text to the console window
-        * You can specify arguments that will be passed to the text via sprintf
-        * @see http://www.php.net/sprintf
-        *
-        * @param string $text Text to output
-        * @param array $arguments Optional arguments to use for sprintf
-        * @return void
-        */
-       protected function output($text, array $arguments = array()) {
-               if ($arguments !== array()) {
-                       $text = vsprintf($text, $arguments);
-               }
-               $this->response->appendContent($text);
-       }
-
-       /**
-        * Outputs specified text to the console window and appends a line break
-        *
-        * @param string $text Text to output
-        * @param array $arguments Optional arguments to use for sprintf
-        * @return string
-        * @see output()
-        */
-       protected function outputLine($text = '', array $arguments = array()) {
-               return $this->output($text . PHP_EOL, $arguments);
-       }
-
-       /**
-        * Exits the CLI through the dispatcher
-        * An exit status code can be specified @see http://www.php.net/exit
-        *
-        * @param integer $exitCode Exit code to return on exit
-        * @return void
-        */
-       protected function quit($exitCode = 0) {
-               $this->response->setExitCode($exitCode);
-               throw new Tx_Extbase_MVC_Exception_StopAction();
-       }
-
-       /**
-        * Sends the response and exits the CLI without any further code execution
-        * Should be used for commands that flush code caches.
-        *
-        * @param integer $exitCode Exit code to return on exit
-        * @return void
-        */
-       protected function sendAndExit($exitCode = 0) {
-               $this->response->send();
-               exit($exitCode);
-       }
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/CommandControllerInterface.php b/typo3/sysext/extbase/Classes/MVC/Controller/CommandControllerInterface.php
deleted file mode 100644 (file)
index 9aa994c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-
-/**
- * Interface for command controllers
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-interface Tx_Extbase_MVC_Controller_CommandControllerInterface extends Tx_Extbase_MVC_Controller_ControllerInterface {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/ControllerContext.php b/typo3/sysext/extbase/Classes/MVC/Controller/ControllerContext.php
deleted file mode 100644 (file)
index fd6816a..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * The controller context contains information from the controller
- *
- * @package Extbase
- * @subpackage MVC\Controller
- * @version $Id$
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- * @scope prototype
- * @api
- */
-class Tx_Extbase_MVC_Controller_ControllerContext {
-
-       /**
-        * @var Tx_Extbase_MVC_Request
-        */
-       protected $request;
-
-       /**
-        * @var Tx_Extbase_MVC_Response
-        */
-       protected $response;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_Arguments
-        */
-       protected $arguments;
-
-       /**
-        * @var Tx_Extbase_Property_MappingResults
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       protected $argumentsMappingResults;
-
-       /**
-        * @var Tx_Extbase_MVC_Web_Routing_UriBuilder
-        */
-       protected $uriBuilder;
-
-       /**
-        * @var Tx_Extbase_MVC_Controller_FlashMessages
-        */
-       protected $flashMessageContainer;
-
-       /**
-        * Set the request of the controller
-        *
-        * @param Tx_Extbase_MVC_Request $request
-        * @return void
-        */
-       public function setRequest(Tx_Extbase_MVC_Request $request) {
-               $this->request = $request;
-       }
-
-       /**
-        * Get the request of the controller
-        *
-        * @return Tx_Extbase_MVC_Request
-        * @api
-        */
-       public function getRequest() {
-               return $this->request;
-       }
-
-       /**
-        * Set the response of the controller
-        *
-        * @param Tx_Extbase_MVC_Response $response
-        * @return void
-        */
-       public function setResponse(Tx_Extbase_MVC_Response $response) {
-               $this->response = $response;
-       }
-
-       /**
-        * Get the response of the controller
-        *
-        * @return Tx_Extbase_MVC_Request
-        * @api
-        */
-       public function getResponse() {
-               return $this->response;
-       }
-
-       /**
-        * Set the arguments of the controller
-        *
-        * @param Tx_Extbase_MVC_Controller_Arguments $arguments
-        * @return void
-        */
-       public function setArguments(Tx_Extbase_MVC_Controller_Arguments $arguments) {
-               $this->arguments = $arguments;
-       }
-
-       /**
-        * Get the arguments of the controller
-        *
-        * @return Tx_Extbase_MVC_Controller_Arguments
-        * @api
-        */
-       public function getArguments() {
-               return $this->arguments;
-       }
-
-       /**
-        * Set the arguments mapping results of the controller
-        *
-        * @param Tx_Extbase_Property_MappingResults $argumentsMappingResults
-        * @return void
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       public function setArgumentsMappingResults(Tx_Extbase_Property_MappingResults $argumentsMappingResults) {
-               $this->argumentsMappingResults = $argumentsMappingResults;
-       }
-
-       /**
-        * Get the arguments mapping results of the controller
-        *
-        * @return Tx_Extbase_Property_MappingResults
-        * @api
-        * @deprecated since Extbase 1.4.0, will be removed in Extbase 6.0
-        */
-       public function getArgumentsMappingResults() {
-               return $this->argumentsMappingResults;
-       }
-
-       /**
-        * Tx_Extbase_MVC_Web_Routing_UriBuilder $uriBuilder
-        * @param Tx_Extbase_MVC_Web_Routing_UriBuilder $uriBuilder
-        * @return void
-        */
-       public function setUriBuilder(Tx_Extbase_MVC_Web_Routing_UriBuilder $uriBuilder) {
-               $this->uriBuilder = $uriBuilder;
-       }
-
-       /**
-        * @return Tx_Extbase_MVC_Web_Routing_UriBuilder
-        * @api
-        */
-       public function getUriBuilder() {
-               return $this->uriBuilder;
-       }
-
-       /**
-        * Set the flash messages
-        *
-        * @param Tx_Extbase_MVC_Controller_FlashMessages $flashMessageContainer
-        * @return void
-        */
-       public function setFlashMessageContainer(Tx_Extbase_MVC_Controller_FlashMessages $flashMessageContainer) {
-               $this->flashMessageContainer = $flashMessageContainer;
-       }
-
-       /**
-        * Get the flash messages
-        *
-        * @return Tx_Extbase_MVC_Controller_FlashMessages
-        * @deprecated since Extbase 1.1; will be removed in Extbase 6.0
-        */
-       public function getFlashMessages() {
-               t3lib_div::logDeprecatedFunction();
-               return $this->flashMessageContainer;
-       }
-
-       /**
-        * Get the flash messages
-        *
-        * @return Tx_Extbase_MVC_Controller_FlashMessages
-        * @api
-        */
-       public function getFlashMessageContainer() {
-               return $this->flashMessageContainer;
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/ControllerInterface.php b/typo3/sysext/extbase/Classes/MVC/Controller/ControllerInterface.php
deleted file mode 100644 (file)
index d93767e..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Interface for controllers
- *
- * @package Extbase
- * @version $ID:$
- * @api
- */
-interface Tx_Extbase_MVC_Controller_ControllerInterface {
-
-       /**
-        * Checks if the current request type is supported by the controller.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The current request
-        * @return boolean TRUE if this request type is supported, otherwise FALSE
-        * @api
-        */
-       public function canProcessRequest(Tx_Extbase_MVC_RequestInterface $request);
-
-       /**
-        * Processes a general request. The result can be returned by altering the given response.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The request object
-        * @param Tx_Extbase_MVC_ResponseInterface $response The response, modified by the controller
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_UnsupportedRequestType if the controller doesn't support the current request type
-        * @api
-        */
-       public function processRequest(Tx_Extbase_MVC_RequestInterface $request, Tx_Extbase_MVC_ResponseInterface $response);
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/Exception/RequiredArgumentMissingException.php b/typo3/sysext/extbase/Classes/MVC/Controller/Exception/RequiredArgumentMissingException.php
deleted file mode 100644 (file)
index 1720870..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Argument Name" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Controller_Exception_RequiredArgumentMissingException extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/FlashMessages.php b/typo3/sysext/extbase/Classes/MVC/Controller/FlashMessages.php
deleted file mode 100644 (file)
index 2b154e0..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-<?php
-
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Sebastian Kurfürst <sebastian@typo3.org>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * This is a container for all Flash Messages. It is of scope session, but as Extbase
- * has no session scope, we need to save it manually.
- *
- * @version $Id$
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- * @scope session
- * @api
- */
-class Tx_Extbase_MVC_Controller_FlashMessages implements t3lib_Singleton {
-
-       /**
-        * Add another flash message.
-        * Severity can be specified and must be one of
-        *  t3lib_FlashMessage::NOTICE,
-        *  t3lib_FlashMessage::INFO,
-        *  t3lib_FlashMessage::OK,
-        *  t3lib_FlashMessage::WARNING,
-        *  t3lib_FlashMessage::ERROR
-        *
-        * @param string $message
-        * @param string $title optional message title
-        * @param integer $severity optional severity code. One of the t3lib_FlashMessage constants
-        * @return void
-        * @api
-        */
-       public function add($message, $title = '', $severity = t3lib_FlashMessage::OK) {
-               if (!is_string($message)) {
-                       throw new InvalidArgumentException('The flash message must be string, ' . gettype($message) . ' given.', 1243258395);
-               }
-               /** @var $flashMessage t3lib_FlashMessage */
-               $flashMessage = t3lib_div::makeInstance(
-                       't3lib_FlashMessage',
-                       $message,
-                       $title,
-                       $severity,
-                       TRUE
-               );
-               t3lib_FlashMessageQueue::addMessage($flashMessage);
-       }
-
-       /**
-        * Get all flash messages currently available.
-        *
-        * @return array<t3lib_FlashMessage> An array of flash messages
-        * @api
-        * @see t3lib_FlashMessage
-        */
-       public function getAllMessages() {
-               return t3lib_FlashMessageQueue::getAllMessages();
-       }
-
-       /**
-        * Reset all flash messages.
-        *
-        * @return void
-        * @api
-        */
-       public function flush() {
-               t3lib_FlashMessageQueue::getAllMessagesAndFlush();
-       }
-
-       /**
-        * Get all flash messages currently available. And removes them from the session.
-        *
-        * @return array<t3lib_FlashMessage> An array of flash messages
-        * @see t3lib_FlashMessage
-        * @api
-        */
-       public function getAllMessagesAndFlush() {
-               return t3lib_FlashMessageQueue::getAllMessagesAndFlush();
-       }
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Controller/MvcPropertyMappingConfiguration.php b/typo3/sysext/extbase/Classes/MVC/Controller/MvcPropertyMappingConfiguration.php
deleted file mode 100644 (file)
index c76fcdd..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-
-/*                                                                        *
- * This script belongs to the Extbase framework                           *
- *                                                                        *
- * It is free software; you can redistribute it and/or modify it under    *
- * the terms of the GNU Lesser General Public License as published by the *
- * Free Software Foundation, either version 3 of the License, or (at your *
- * option) any later version.                                             *
- *                                                                        *
- * This script is distributed in the hope that it will be useful, but     *
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-    *
- * TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser       *
- * General Public License for more details.                               *
- *                                                                        *
- * You should have received a copy of the GNU Lesser General Public       *
- * License along with the script.                                         *
- * If not, see http://www.gnu.org/licenses/lgpl.html                      *
- *                                                                        *
- * The TYPO3 project - inspiring people to share!                         *
- *                                                                        */
-
-/**
- * The default property mapping configuration is available
- * inside the Argument-object.
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- * @api
- */
-class Tx_Extbase_MVC_Controller_MvcPropertyMappingConfiguration extends Tx_Extbase_Property_PropertyMappingConfiguration {
-
-       /**
-        * Allow creation of a certain sub property
-        *
-        * @param string $propertyPath
-        * @return void
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @api
-        */
-       public function allowCreationForSubProperty($propertyPath) {
-               $this->forProperty($propertyPath)->setTypeConverterOption('Tx_Extbase_Property_TypeConverter_PersistentObjectConverter', Tx_Extbase_Property_TypeConverter_PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, TRUE);
-       }
-
-       /**
-        * Allow modification for a given property path
-        *
-        * @param string $propertyPath
-        * @return void
-        * @author Sebastian Kurfürst <sebastian@typo3.org>
-        * @api
-        */
-       public function allowModificationForSubProperty($propertyPath) {
-               $this->forProperty($propertyPath)->setTypeConverterOption('Tx_Extbase_Property_TypeConverter_PersistentObjectConverter', Tx_Extbase_Property_TypeConverter_PersistentObjectConverter::CONFIGURATION_MODIFICATION_ALLOWED, TRUE);
-       }
-
-       /**
-        * Set the target type for a certain property. Especially useful
-        * if there is an object which has a nested object which is abstract,
-        * and you want to instanciate a concrete object instead.
-        *
-        * @param string $propertyPath
-        * @param string $targetType
-        * @return void
-        * @api
-        */
-       public function setTargetTypeForSubProperty($propertyPath, $targetType) {
-               $this->forProperty($propertyPath)->setTypeConverterOption('Tx_Extbase_Property_TypeConverter_PersistentObjectConverter', Tx_Extbase_Property_TypeConverter_PersistentObjectConverter::CONFIGURATION_TARGET_TYPE, $targetType);
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Dispatcher.php b/typo3/sysext/extbase/Classes/MVC/Dispatcher.php
deleted file mode 100644 (file)
index 7d37084..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2010 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Dispatches requests to the controller which was specified by the request and
- * returns the response the controller generated.
- *
- */
-class Tx_Extbase_MVC_Dispatcher implements t3lib_Singleton {
-
-       /**
-        * @var Tx_Extbase_Object_ObjectManagerInterface A reference to the object manager
-        */
-       protected $objectManager;
-
-       /**
-        * @var Tx_Extbase_Reflection_Service
-        */
-       protected $reflectionService;
-
-       /**
-        * @var Tx_Extbase_SignalSlot_Dispatcher
-        */
-       protected $signalSlotDispatcher;
-
-       /**
-        * @var array
-        */
-       protected $settings = array();
-
-       /**
-        * Constructs the global dispatcher
-        *
-        * @param Tx_Extbase_Object_ObjectManagerInterface $objectManager A reference to the object manager
-        */
-       public function __construct(Tx_Extbase_Object_ObjectManagerInterface $objectManager) {
-               $this->objectManager = $objectManager;
-       }
-
-       /**
-        * Injects the Reflection Service
-        *
-        * @param Tx_Extbase_Reflection_Service $reflectionService
-        * @return void
-        */
-       public function injectReflectionService(Tx_Extbase_Reflection_Service $reflectionService) {
-               $this->reflectionService = $reflectionService;
-       }
-
-       /**
-        * Injects the SignalSlotDispatcher Service
-        *
-        * @param Tx_Extbase_SignalSlot_Dispatcher $signalSlotDispatcher
-        */
-       public function injectSignalSlotDispatcher(Tx_Extbase_SignalSlot_Dispatcher $signalSlotDispatcher) {
-               $this->signalSlotDispatcher = $signalSlotDispatcher;
-       }
-
-       /**
-        * Dispatches a request to a controller and initializes the security framework.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The request to dispatch
-        * @param Tx_Extbase_MVC_ResponseInterface $response The response, to be modified by the controller
-        * @return void
-        */
-       public function dispatch(Tx_Extbase_MVC_RequestInterface $request, Tx_Extbase_MVC_ResponseInterface $response) {
-               $dispatchLoopCount = 0;
-               while (!$request->isDispatched()) {
-                       if ($dispatchLoopCount++ > 99) throw new Tx_Extbase_MVC_Exception_InfiniteLoop('Could not ultimately dispatch the request after '  . $dispatchLoopCount . ' iterations. Most probably, a @dontvalidate annotation is missing on re-displaying a form with validation errors.', 1217839467);
-                       $controller = $this->resolveController($request);
-                       try {
-                               $controller->processRequest($request, $response);
-                       } catch (Tx_Extbase_MVC_Exception_StopAction $ignoredException) {
-                       }
-               }
-               $this->signalSlotDispatcher->dispatch(__CLASS__, 'afterRequestDispatch', array('request' => $request, 'response' => $response));
-       }
-
-       /**
-        * Finds and instanciates a controller that matches the current request.
-        * If no controller can be found, an instance of NotFoundControllerInterface is returned.
-        *
-        * @param Tx_Extbase_MVC_RequestInterface $request The request to dispatch
-        * @return Tx_Extbase_MVC_Controller_ControllerInterface
-        * @author Bastian Waidelich <bastian@typo3.org>
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       protected function resolveController(Tx_Extbase_MVC_RequestInterface $request) {
-               $controllerObjectName = $request->getControllerObjectName();
-               $controller = $this->objectManager->get($controllerObjectName);
-               if (!$controller instanceof Tx_Extbase_MVC_Controller_ControllerInterface) {
-                       throw new Tx_Extbase_MVC_Exception_InvalidController('Invalid controller "' . $request->getControllerObjectName() . '". The controller must implement the Tx_Extbase_MVC_Controller_ControllerInterface.', 1202921619);
-               }
-               return $controller;
-       }
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception.php b/typo3/sysext/extbase/Classes/MVC/Exception.php
deleted file mode 100644 (file)
index 7fa12d0..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A generic MVC exception
- *
- * @package Extbase
- * @subpackage MVC
- * @version $ID:$
- */
-class Tx_Extbase_MVC_Exception extends Tx_Extbase_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/AmbiguousCommandIdentifier.php b/typo3/sysext/extbase/Classes/MVC/Exception/AmbiguousCommandIdentifier.php
deleted file mode 100644 (file)
index 684db12..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2011 Extbase Team
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Ambiguous command identifier" exception
- *
- * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
- */
-class Tx_Extbase_MVC_Exception_AmbiguousCommandIdentifier extends Tx_Extbase_MVC_Exception_Command {
-
-       /**
-        * @var array<Tx_Extbase_MVC_CLI_Command>
-        */
-       protected $matchingCommands = array();
-
-       /**
-        * Overwrites parent constructor to be able to inject matching commands.
-        *
-        * @param string $message
-        * @param integer $code
-        * @param Exception $previousException
-        * @param array<Tx_Extbase_MVC_CLI_Command> $matchingCommands Commands that matched the command identifier
-        * @see Exception
-        * @author Bastian Waidelich <bastian@typo3.org>
-        */
-       public function __construct($message = '', $code = 0, Exception $previousException = NULL, array $matchingCommands) {
-               $this->matchingCommands = $matchingCommands;
-               parent::__construct($message, $code, $previousException);
-       }
-
-       /**
-        * @return array<Tx_Extbase_MVC_CLI_Command>
-        */
-       public function getMatchingCommands() {
-               return $this->matchingCommands;
-       }
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/Command.php b/typo3/sysext/extbase/Classes/MVC/Exception/Command.php
deleted file mode 100644 (file)
index 2672cce..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2011 Extbase Team
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Base command exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- */
-class Tx_Extbase_MVC_Exception_Command extends Tx_Extbase_MVC_Exception {
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InfiniteLoop.php b/typo3/sysext/extbase/Classes/MVC/Exception/InfiniteLoop.php
deleted file mode 100644 (file)
index d52833f..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Infinite Loop" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InfiniteLoop extends Tx_Extbase_MVC_Exception {
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidActionName.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidActionName.php
deleted file mode 100644 (file)
index 1497118..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "invalid action name" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidActionName extends Tx_Extbase_MVC_Exception {
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentMixing.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentMixing.php
deleted file mode 100644 (file)
index 2cda4c5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Argument Name" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidArgumentMixing extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentName.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentName.php
deleted file mode 100644 (file)
index 4186fb8..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Argument Name" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidArgumentName extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentType.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentType.php
deleted file mode 100644 (file)
index 5a55589..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Argument Type" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidArgumentType extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentValue.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidArgumentValue.php
deleted file mode 100644 (file)
index 895898d..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Argument Value" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidArgumentValue extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidCommandIdentifier.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidCommandIdentifier.php
deleted file mode 100644 (file)
index 57b205e..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2011 Extbase Team
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Command Identifier" exception
- */
-class Tx_Extbase_MVC_Exception_InvalidCommandIdentifier extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidController.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidController.php
deleted file mode 100644 (file)
index a4b188b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Controller" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidController extends Tx_Extbase_MVC_Exception {
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidControllerName.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidControllerName.php
deleted file mode 100644 (file)
index 935b0f1..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Controller Name" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidControllerName extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidExtensionName.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidExtensionName.php
deleted file mode 100644 (file)
index 9ec4e11..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Extension Name" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidExtensionName extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidMarker.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidMarker.php
deleted file mode 100644 (file)
index 6efe718..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Marker" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidMarker extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidOrNoRequestHash.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidOrNoRequestHash.php
deleted file mode 100644 (file)
index 7881a2a..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Request Method" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidOrNoRequestHash extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidRequestMethod.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidRequestMethod.php
deleted file mode 100644 (file)
index b0f5797..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Request Method" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidRequestMethod extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidRequestType.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidRequestType.php
deleted file mode 100644 (file)
index cbe5c06..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Request Type" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidRequestType extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidTemplateResource.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidTemplateResource.php
deleted file mode 100644 (file)
index 5e16d48..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid Template Resource" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidTemplateResource extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidUriPattern.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidUriPattern.php
deleted file mode 100644 (file)
index ae60a5e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Invalid URI Pattern" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidUriPattern extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/InvalidViewHelper.php b/typo3/sysext/extbase/Classes/MVC/Exception/InvalidViewHelper.php
deleted file mode 100644 (file)
index d677db3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "invalid ViewHelper" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_InvalidViewHelper extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchAction.php b/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchAction.php
deleted file mode 100644 (file)
index 4468304..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A "No Such Action" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_NoSuchAction extends Tx_Extbase_MVC_Exception {
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchArgument.php b/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchArgument.php
deleted file mode 100644 (file)
index 9a76c37..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A "No Such Argument" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_NoSuchArgument extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchCommand.php b/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchCommand.php
deleted file mode 100644 (file)
index 91e5c4f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A "No Such Command" exception
- */
-class Tx_Extbase_MVC_Exception_NoSuchCommand extends Tx_Extbase_MVC_Exception_Command {
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchController.php b/typo3/sysext/extbase/Classes/MVC/Exception/NoSuchController.php
deleted file mode 100644 (file)
index 46cbc17..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * A "No Such Controller" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_NoSuchController extends Tx_Extbase_MVC_Exception {
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/RequiredArgumentMissing.php b/typo3/sysext/extbase/Classes/MVC/Exception/RequiredArgumentMissing.php
deleted file mode 100644 (file)
index 60ef297..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Required Argument Missing" exception
- *
- * @package Extbase
- */
-class Tx_Extbase_MVC_Exception_RequiredArgumentMissing extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/StopAction.php b/typo3/sysext/extbase/Classes/MVC/Exception/StopAction.php
deleted file mode 100644 (file)
index 15cb7a6..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * This exception is thrown by a controller to stop the execution of the current
- * action and return the control to the dispatcher. The dispatcher catches this
- * exception and - depending on the "dispatched" status of the request - either
- * continues dispatching the request or returns control to the request handler.
- *
- * See the Action Controller's forward() and redirectToUri() methods for more information.
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_StopAction extends Tx_Extbase_MVC_Exception {
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Exception/UnsupportedRequestType.php b/typo3/sysext/extbase/Classes/MVC/Exception/UnsupportedRequestType.php
deleted file mode 100644 (file)
index d74773b..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3. 
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * An "Unsupported Request Type" exception
- *
- * @package Extbase
- * @subpackage MVC\Exception
- * @version $Id$
- */
-class Tx_Extbase_MVC_Exception_UnsupportedRequestType extends Tx_Extbase_MVC_Exception {
-
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/extbase/Classes/MVC/Request.php b/typo3/sysext/extbase/Classes/MVC/Request.php
deleted file mode 100644 (file)
index 3c76527..0000000
+++ /dev/null
@@ -1,514 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-*  All rights reserved
-*
-*  This class is a backport of the corresponding class of FLOW3.
-*  All credits go to the v5 team.
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Represents a generic request.
- *
- * @package Extbase
- * @subpackage MVC
- * @version $ID:$
- * @scope prototype
- * @api
- */
-class Tx_Extbase_MVC_Request implements Tx_Extbase_MVC_RequestInterface {
-
-       const PATTERN_MATCH_FORMAT = '/^[a-z0-9]{1,5}$/';
-
-       /**
-        * Pattern after which the controller object name is built
-        *
-        * @var string
-        */
-       protected $controllerObjectNamePattern = 'Tx_@extension_@subpackage_Controller_@controllerController';
-
-       /**
-        * @var string Key of the plugin which identifies the plugin. It must be a string containing [a-z0-9]
-        */
-       protected $pluginName = '';
-
-       /**
-        * @var string Name of the extension which is supposed to handle this request. This is the extension name converted to UpperCamelCase
-        */
-       protected $controllerExtensionName = NULL;
-
-       /**
-        * Subpackage key of the controller which is supposed to handle this request.
-        *
-        * @var string
-        */
-       protected $controllerSubpackageKey = NULL;
-
-       /**
-        * @var string Object name of the controller which is supposed to handle this request.
-        */
-       protected $controllerName = 'Standard';
-
-       /**
-        * @var string Name of the action the controller is supposed to take.
-        */
-       protected $controllerActionName = 'index';
-
-       /**
-        * @var array The arguments for this request
-        */
-       protected $arguments = array();
-
-       /**
-        * Framework-internal arguments for this request, such as __referrer.
-        * All framework-internal arguments start with double underscore (__),
-        * and are only used from within the framework. Not for user consumption.
-        * Internal Arguments can be objects, in contrast to public arguments
-        *
-        * @var array
-        */
-       protected $internalArguments = array();
-
-       /**
-        * @var string The requested representation format
-        */
-       protected $format = 'txt';
-
-       /**
-        * @var boolean If this request has been changed and needs to be dispatched again
-        */
-       protected $dispatched = FALSE;
-
-       /**
-        * If this request is a forward because of an error, the original request gets filled.
-        *
-        * @var Tx_Extbase_MVC_Request
-        */
-       protected $originalRequest = NULL;
-
-       /**
-        * If the request is a forward because of an error, these mapping results get filled here.
-        *
-        * @var Tx_Extbase_Error_Result
-        */
-       protected $originalRequestMappingResults = NULL;
-
-       /**
-        * @var array Errors that occured during this request
-        * @deprecated since Extbase 1.4.0, will be removed with Extbase 6.0
-        */
-       protected $errors = array();
-
-       /**
-        * Sets the dispatched flag
-        *
-        * @param boolean $flag If this request has been dispatched
-        * @return void
-        * @api
-        */
-       public function setDispatched($flag) {
-               $this->dispatched = $flag ? TRUE : FALSE;
-       }
-
-       /**
-        * If this request has been dispatched and addressed by the responsible
-        * controller and the response is ready to be sent.
-        *
-        * The dispatcher will try to dispatch the request again if it has not been
-        * addressed yet.
-        *
-        * @return boolean TRUE if this request has been disptached sucessfully
-        * @api
-        */
-       public function isDispatched() {
-               return $this->dispatched;
-       }
-
-       /**
-        * Returns the object name of the controller defined by the extension name and
-        * controller name
-        *
-        * @return string The controller's Object Name
-        * @throws Tx_Extbase_MVC_Exception_NoSuchController if the controller does not exist
-        * @api
-        */
-       public function getControllerObjectName() {
-               $lowercaseObjectName = str_replace('@extension', $this->controllerExtensionName, $this->controllerObjectNamePattern);
-               $lowercaseObjectName = str_replace('@subpackage', $this->controllerSubpackageKey, $lowercaseObjectName);
-               $lowercaseObjectName = str_replace('@controller', $this->controllerName, $lowercaseObjectName);
-               $lowercaseObjectName = str_replace('__', '_', $lowercaseObjectName);
-               // TODO implement getCaseSensitiveObjectName()
-               $objectName = $lowercaseObjectName;
-               if ($objectName === FALSE) throw new Tx_Extbase_MVC_Exception_NoSuchController('The controller object "' . $lowercaseObjectName . '" does not exist.', 1220884009);
-
-               return $objectName;
-       }
-
-       /**
-        * Explicitly sets the object name of the controller
-        *
-        * @param string $controllerObjectName The fully qualified controller object name
-        * @return void
-        */
-       public function setControllerObjectName($controllerObjectName) {
-               $matches = array();
-               preg_match('/
-                       ^Tx
-                       _(?P<extensionName>[^_]+)
-                       _
-                       (
-                               Controller
-                       |
-                               (?P<subpackageKey>.+)_Controller
-                       )
-                       _(?P<controllerName>[a-z_]+)Controller
-                       $/ix', $controllerObjectName, $matches
-               );
-
-               $this->controllerExtensionName = $matches['extensionName'];
-               $this->controllerSubpackageKey = (isset($matches['subpackageKey'])) ? $matches['subpackageKey'] : NULL;
-               $this->controllerName = $matches['controllerName'];
-       }
-
-       /**
-        * Sets the plugin name.
-        *
-        * @param string|NULL $pluginName
-        * @return void
-        */
-       public function setPluginName($pluginName = NULL) {
-               if ($pluginName !== NULL) {
-                       $this->pluginName = $pluginName;
-               }
-       }
-
-       /**
-        * Returns the plugin key.
-        *
-        * @return string The plugin key
-        * @api
-        */
-       public function getPluginName() {
-               return $this->pluginName;
-       }
-
-       /**
-        * Sets the extension name of the controller.
-        *
-        * @param string $controllerExtensionName The extension name.
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_InvalidExtensionName if the extension name is not valid
-        */
-       public function setControllerExtensionName($controllerExtensionName) {
-               if ($controllerExtensionName !== NULL) {
-                       $this->controllerExtensionName = $controllerExtensionName;
-               }
-       }
-
-       /**
-        * Returns the extension name of the specified controller.
-        *
-        * @return string The extension name
-        * @api
-        */
-       public function getControllerExtensionName() {
-               return $this->controllerExtensionName;
-       }
-
-       /**
-        * Returns the extension name of the specified controller.
-        *
-        * @return string The extension key
-        * @api
-        */
-       public function getControllerExtensionKey() {
-               return t3lib_div::camelCaseToLowerCaseUnderscored($this->controllerExtensionName);
-       }
-
-       /**
-        * Sets the subpackage key of the controller.
-        *
-        * @param string $subpackageKey The subpackage key.
-        * @return void
-        */
-       public function setControllerSubpackageKey($subpackageKey) {
-               $this->controllerSubpackageKey = $subpackageKey;
-       }
-
-       /**
-        * Returns the subpackage key of the specified controller.
-        * If there is no subpackage key set, the method returns NULL
-        *
-        * @return string The subpackage key
-        */
-       public function getControllerSubpackageKey() {
-               return $this->controllerSubpackageKey;
-       }
-
-       /**
-        * Sets the name of the controller which is supposed to handle the request.
-        * Note: This is not the object name of the controller!
-        *
-        * @param string $controllerName Name of the controller
-        * @return void
-        */
-       public function setControllerName($controllerName) {
-               if (!is_string($controllerName) && $controllerName !== NULL) throw new Tx_Extbase_MVC_Exception_InvalidControllerName('The controller name must be a valid string, ' . gettype($controllerName) . ' given.', 1187176358);
-               if (strpos($controllerName, '_') !== FALSE) throw new Tx_Extbase_MVC_Exception_InvalidControllerName('The controller name must not contain underscores.', 1217846412);
-               if ($controllerName !== NULL) {
-                       $this->controllerName = $controllerName;
-               }
-       }
-
-       /**
-        * Returns the object name of the controller supposed to handle this request, if one
-        * was set already (if not, the name of the default controller is returned)
-        *
-        * @return string Object name of the controller
-        * @api
-        */
-       public function getControllerName() {
-               return $this->controllerName;
-       }
-
-       /**
-        * Sets the name of the action contained in this request.
-        *
-        * Note that the action name must start with a lower case letter and is case sensitive.
-        *
-        * @param string $actionName: Name of the action to execute by the controller
-        * @return void
-        * @throws Tx_Extbase_MVC_Exception_InvalidActionName if the action name is not valid
-        */
-       public function setControllerActionName($actionName) {
-               if (!is_string($actionName) && $actionName !== NULL) throw new Tx_Extbase_MVC_Exception_InvalidActionName('The action name must be a valid string, ' . gettype($actionName) . ' given (' . $actionName . ').', 1187176358);
-               if (($actionName{0} !== strtolower($actionName{0})) && $actionName !== NULL) throw new Tx_Extbase_MVC_Exception_InvalidActionName('The action name must start with a lower case letter, "' . $actionName . '" does not match this criteria.', 1218473352);
-               if ($actionName !== NULL) {
-                       $this->controllerActionName = $actionName;
-               }
-       }
-
-       /**
-        * Returns the name of the action the controller is supposed to execute.
-        *
-        * @return string Action name
-        * @api
-        */
-       public function getControllerActionName() {
-               $controllerObjectName = $this->getControllerObjectName();
-               if ($controllerObjectName !== '' && ($this->controllerActionName === strtolower($this->controllerActionName))) {
-                       $actionMethodName = $this->controllerActionName . 'Action';
-                       foreach (get_class_methods($controllerObjectName) as $existingMethodName) {
-                               if (strtolower($existingMethodName) === strtolower($actionMethodName)) {
-                                       $this->controllerActionName = substr($existingMethodName, 0, -6);
-                                       break;
-                               }
-                       }
-               }
-               return $this->controllerActionName;
-       }
-
-       /**
-        * Sets the value of the specified argument
-        *
-        * @param string $argumentName Name of the argument to set
-        * @param mixed $value The new value
-        * @return void
-        */
-       public function setArgument($argumentName, $value) {
-               if (!is_string($argumentName) || strlen($argumentName) == 0) throw new Tx_Extbase_MVC_Exception_InvalidArgumentName('Invalid argument name.', 1210858767);
-
-               if ($argumentName[0] === '_' && $argumentName[1] === '_') {
-                       $this->internalArguments[$argumentName] = $value;
-                       return;
-               }
-
-               switch ($argumentName) {
-                       case '@extension':
-                               $this->setControllerExtensionName($value);
-                               break;
-                       case '@subpackage':
-                               $this->setControllerSubpackageKey($value);
-                               break;
-                       case '@controller':
-                               $this->setControllerName($value);
-                               break;
-                       case '@action':
-                               $this->setControllerActionName($value);
-                               break;
-                       case '@format':
-                               $this->setFormat($value);
-                               break;
-                       default:
-                               $this->arguments[$argumentName] = $value;
-               }
-       }
-
-       /**
-        * Sets the whole arguments array and therefore replaces any arguments
-        * which existed before.
-        *
-        * @param array $arguments An array of argument names and their values
-        * @return void
-        */
-       public function setArguments(array $arguments) {
-               $this->arguments = array();
-               foreach ($arguments as $argumentName => $argumentValue) {
-                       $this->setArgument($argumentName, $argumentValue);
-               }
-       }
-
-       /**
-        * Returns an array of arguments and their values
-        *
-        * @return array Associative array of arguments and their values (which may be arguments and values as well)
-        * @api
-        */
-       public function getArguments() {
-               return $this->arguments;
-       }
-
-       /**
-        * Returns the value of the specified argument
-        *
-        * @param string $argumentName Name of the argument
-        * @return string Value of the argument
-        * @throws Tx_Extbase_MVC_Exception_NoSuchArgument if such an argument does not exist
-        * @api
-        */
-       public function getArgument($argumentName) {
-               if (!isset($this->arguments[$argumentName])) throw new Tx_Extbase_MVC_Exception_NoSuchArgument('An argument "' . $argumentName . '" does not exist for this request.', 1176558158);
-               return $this->arguments[$argumentName];
-       }
-
-       /**
-        * Checks if an argument of the given name exists (is set)
-        *
-        * @param string $argumentName Name of the argument to check
-        * @return boolean TRUE if the argument is set, otherwise FALSE
-        * @api
-        */
-       public function hasArgument($argumentName) {
-               return isset($this->arguments[$argumentName]);
-       }
-
-       /**
-        * Sets the requested representation format
-        *
-        * @param string $format The desired format, something like "html", "xml", "png", "json" or the like. Can even be something like "rss.xml".
-        * @return void
-        * @author Robert Lemke <robert@typo3.org>
-        */
-       public function setFormat($format) {
-               $this->format = $format;
-       }
-
-       /**
-        * Returns the requested representation format
-        *
-        * @return string The desired format, something like "html", "xml", "png", "json" or the like.
-        * @author Robert Lemke <robert@typo3.org>
-        * @api
-        */
-       public function getFormat() {
-               return $this->format;
-       }
-
-       /**
-        * Set errors that occured during the request (e.g. argument mapping errors)
-        *
-        * @param array $errors An array of Tx_Extbase_Error_Error objects
-        * @return void
-        * @deprecated since Extbase 1.4.0, will be removed with Extbase 6.0
-        */
-       public function setErrors(array $errors) {
-