[TYPO3-ect] Using constructors within lib/div
Christian Welzel
gawain at camlann.de
Sun Jun 17 09:32:20 CEST 2007
Max Beutel wrote:
> It seems quite natural to me using constructors in my objects. ; )
The correct way to use the constructor is first to call the constructor
of the parent class.
class some tx_lib_controller {
public function __construct() {
parent::__construct();
...some stuff here...
}
}
--
MfG, Christian Welzel
GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
More information about the TYPO3-team-extension-coordination
mailing list