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

Oliver Tempel OliverTempel at gmail.com
Tue May 13 16:46:32 CEST 2008


Try to read value from hook
Added a new row in table called public, value can be zero or one.
If Value one, added notice in output.

Oliver Klee wrote:
> 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