[TYPO3-mvc] model properties?

Daniel Dimitrov danielsd_bg at yahoo.fr
Thu Apr 22 10:51:13 CEST 2010


Yep it was a typo. In the module class the variable is declared as 
protected:
protected shortDescription;

Any other ideas??
Daniel

"Jochen Rau" <jochen.rau at typoplanet.de> wrote in message 
news:mailman.1.1271925919.23503.typo3-project-typo3v4mvc at lists.typo3.org...
> Hi.
>
> On 22.04.10 10:28, Daniel Dimitrov wrote:
>> In my model I have a variable
>> private shortDescription;
>
> Maybe "private" was a typo. Try "protected" instead. "private" properties 
> are only visible in the class they are defined in. But Extbase collects 
> the properties in the AbstractEntity.
>
> Regards
> Jochen 



More information about the TYPO3-project-typo3v4mvc mailing list