[TYPO3-mvc] Extendig of other model fails

Florian Rubel florianrubel at web.de
Wed Apr 16 12:34:43 CEST 2014


Sorry, again in english:
Maybe an alias-map file could help you, if the extension doesn't support namespaces yet. You can see an example in the code below.

Quote: Florian Rubel (wilddev) wrote on Wed, 16 April 2014 12:29
----------------------------------------------------
> Ich bin mir nicht sicher, aber eine Alias-Map Datei könnte dir helfen. Dabei werden die tx_extbase_hastenichtgesehn Klassennamen in Namespaces definiert.
> 
> habe diese Beispiel gefunden:
> <?php
> 
> // Inhalt der Datei typo3conf/ext/math/Migrations/Code/ClassAliasMap.php:
> 
> return array(
>   'Tx_Math_Validation_Validator_IsEqualValidator' =>
>     'Speedprogs\\Math\\Validation\\Validator\\IsEqualValidator',
> );
> 
> // Angabe des Validators im Model:
> 
> @validate Tx_Math_Validation_Validator_IsEqualValidator(firstValue='10', secondValue='12')
> 
> ?>
----------------------------------------------------




More information about the TYPO3-project-typo3v4mvc mailing list