Task #43269
closedChange Xclass naming from ux_ prefix to Xclass suffix
Added by Christian Kuhn almost 12 years ago. Updated about 7 years ago.
100%
Updated by Christian Kuhn almost 12 years ago
With 6.0 a new Xclass registration scheme was put in place removing
the global TYPO3_CONF_VARS['XCLASS'] registration and using the
autoloader instead.
Currently, an Xclass is registered by prefixing the class that has
to be Xclass'ed with the prefix 'ux_'. An example is 'ux_TYPO3\CMS\
Core\Database\DatabaseConnection' in dbal.
This looks ugly and doesn't really make much sense with namespaces.
Therefore, a late change is introduced, changing the 'ux_' prefix to
a 'Xclass' suffix.
With this patch, a Xclass registration in an
ext_autoload.php file of some extension must look like:
- Name spaced:
'Original\Classname' => 'Other\ClassnameXclass'
- Non name spaced:
'tx_FooBar_Classname' => 'tx_FooBar_ClassnameXclass'
The patch does the needed adjustments in ClassLoader and
makeInstance. Additionally, two unit tests for the ClassLoader are
removed that duplicated other tests and did not make sense.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16712
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16713
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16713
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16712
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16712
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16713
Updated by Gerrit Code Review almost 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16712
Updated by Gerrit Code Review almost 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16713
Updated by Gerrit Code Review almost 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16712
Updated by Gerrit Code Review almost 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16712
Updated by Gerrit Code Review almost 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16713
Updated by Helmut Hummel almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 39789b9c0b871c5a7ac96488cf67648ba340b93d.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed