[TYPO3-kickstarter] protected functions

Robert Wildling robertwildling at gmail.com
Wed Apr 4 10:41:05 CEST 2012


Hi,

When putting together a regular frontend plugin with the automated list 
generating functions of the kickstarter, the latest kickstarter version 
from the SVN (not TER) adds "protected" to pi_list_header (eg). This 
throws an error:

Fatal error: Access level to tx_participants_pi1::pi_list_row() must be 
public (as in class tslib_pibase) in 
/Users/---/Sites/_Typo3_46/typo3conf/ext/participants/pi1/class.tx_participants_pi1.php 
on line 279

This concerns several functions. Changing them to public removes the 
error message, but the list generation won't work, only the table header 
is shown.

This is tested on MAMP with php 5.3.6 and TYPO3 4.6.6.

Developing the same ext using the TER kickstarter (0.5.1) on TYPO3 4.5 
and then porting to 4.6 will not throw any errors, but the list function 
doesn't yield any results either. It DOES show results on TYPO3 4.5, though.

Anybody knows what the problem is?

Unfortunately - being way too unexperienced with ext development and not 
enough of a programmer at all - I cannot pinpoint the problem. Any 
insight would be highly welcome and appreciated!

Thanks!
Robert


More information about the TYPO3-project-kickstarter mailing list