[TYPO3-mvc] Extendig of other model fails

Florian Rubel florianrubel at web.de
Wed Apr 16 12:29:35 CEST 2014


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