[TYPO3-german] Methods with the same name as their class will not be constructors in a future version of PHP

Johannes C. Laxander jc at laxander.com
Tue Oct 18 10:00:52 CEST 2016


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.



More information about the TYPO3-german mailing list