Re: [TYPO3-german] Methods with the same name as their class will not be constructors in a future version of PHP
Hallo Gregor, > http://de2.php.net/manual/de/language.oop5.decon.php > > sollte dir helfen... > Danke für deinen Hinweis. Übertragen auf mein Beispiel würde das dann so gemacht? class tx_abc_xyz extends tx_abc { public function __construct (...) { ... } } Und die Funktion würde dann mit dem Namen der Klasse aufgerufen? Johannes. ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] Methods with the same name as their class will not be constructors in a future version of PHP
Hallo Johannes, Johannes C. Laxander wrote: > ich bekomme die Fehlermeldung unter TYPO3 7.6.11 und kann sie auch im Code > nachvollziehen. > Ist das eine Einschränkung durch PHP7? Gibt es eine Empfehlung für die > Extension Entwicklung, wie Klassen und Funktionen unter PHP7 künftig > benannt werden sollen? > > > PHP Runtime Deprecation Notice: Methods with the same name as their class > will not be constructors in a future version of PHP; http://de2.php.net/manual/de/language.oop5.decon.php sollte dir helfen... Gruß, Gregor -- http://www.a-mazing.de/ | Certified TYPO3 Integrator ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Methods with the same name as their class will not be constructors in a future version of PHP
Hallo, ich bekomme die Fehlermeldung unter TYPO3 7.6.11 und kann sie auch im Code nachvollziehen. Ist das eine Einschränkung durch PHP7? Gibt es eine Empfehlung für die Extension Entwicklung, wie Klassen und Funktionen unter PHP7 künftig benannt werden sollen? PHP Runtime Deprecation Notice: Methods with the same name as their class will not be constructors in a future version of PHP; class tx_abc_xyz extends tx_abc { public function tx_abc_xyz (...) { ... } } Gruß, Johannes. ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german