I want to know how possible cakephp 2.3.6 execute behavior callback in sequence on one more behavior?
for example, I have three behavior:
- CustomBehavior1
- CustomBehavior2
- CustomBehavior3
and they have beforeFind() callback.
I want to call CustomBehavior1 beforeFind at first then CustomBehavior2, CustomBehavior3 ...
I use this but not working:
public $actsAs = array(
'CustomBehavior1',
'CustomBehavior2',
'CustomBehavior3'
);
their beforeFind call in random now.