[TYPO3-project-seminars] Using Hook in Version 0.6

Oliver Klee typo3-german-02 at oliverklee.de
Tue May 13 16:04:47 CEST 2008


Hi Oliver,

Oliver Tempel schrieb:
> after Upgrading to version 0.6, modifySingleView doesnt work.
> Reporting follwing error:
> Fatal error: Cannot access protected property 
> tx_seminars_seminar::$recordData in 
> /var/www/vhosts/tutoren-muenchen.de/httpdocs/typo3conf/ext/msv_seminars/class.seminars_modifySingleView.php 
> on line 13
> 
> Try to access some new db entries:
> $sem->seminar->recordData['public'];

That's called encapsulation: "Do not access other object's member 
variables."

What exactly are you trying to access from where?


Oliver


More information about the TYPO3-project-seminars mailing list