is there anyway to use a mysql Statement in a displayCondition of TCA?
Something like this:
'displayCond' => 'SELECT flag from mysecondtable where id = 123',
Regards n00n
Not directly, but you can make a function in a class and use that as a userFunc See: TCA documentation
As you can see in the documentation you can pass parameters to your function to do any complex checks that you want.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.