[TYPO3-mvc] setRespectEnableFields on child objects
christian oettinger
christian.oettinger at gmx.de
Wed Sep 12 20:36:08 CEST 2012
Hi Stefan,
As far as I know this can not be done by using extbase standard queries.
This is quite difficult sometimes but can usually be solved by using own
statements.
Pleas see my post of 2012-09-12 which inculdes an example:
"Best prcatise: Get objects including hidden/deleted child objects"
hope this helps...
christian (oe)
> Hello MVC-Team,
>
> we have two table: A "registration" table and a "fe_user" table.
>
> We have build a model "registration" which has a property "fe_user"
> defined with valid type declaration.
>
> Now I can work with registration.fe_user.username in Fluid.
>
> BUT!
>
> If the fe_user hasn't confirmed his registration the col "disabled" is
> set to 1. We call setRespectEnableFields() for the aggregate root object
> "registration". In my opinion setRespectEnableFields should also work on
> all chained properties which are an object, too. In my case "fe_users".
> But it doesn't do so.
>
> So...how to set setRespectEnableFields for sub objects, too?
>
> Stefan
More information about the TYPO3-project-typo3v4mvc
mailing list