[TYPO3-mvc] own class vars in Domain/Model
Toke Herkild
th at t3cms.dk
Tue Oct 4 11:51:18 CEST 2016
Hi Georg,
As long as your field/property is not defined in TCA it will not be
parsed into the DB.
And you can still add getter and setters for dynamic properties.
Regards,
Toke Herkild
On 29-09-2016 17:19, Georg Schönweger wrote:
> Hi all,
>
> I need some own class vars ($this->magick) in my model (with no property
> / database mapping) for some calculations / logic. Is it save to use own
> class vars in Extbase models?
> ... I'm worried that this class vars are considered when extbase checks
> if the model changes and tries to save this changes to the database. Is
> there some annotation for ignoring class vars by extbase annotation
> handling?
>
> regards,
> Georg
>
---
Denne e-mail blev kontrolleret for virusser af Avast antivirussoftware.
https://www.avast.com/antivirus
More information about the TYPO3-project-typo3v4mvc
mailing list