File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ public function _matchConstructionPattern($value)
3535 return $ constructions ;
3636 }
3737
38+ public function setChildParser ($ key ,$ modelAlias ){
39+ $ this ->_parsers [$ key ] = $ modelAlias ;
40+ }
41+
3842 private function _callPrefetchDirective ($ construction )
3943 {
4044 $ callback = array ($ this , $ construction [1 ] . 'PrefetchDirective ' );
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ public function prefetch($value)
2424 $ this ->_prefetchWaitingData ();
2525 }
2626
27+ public function setChildPrefetcher ($ key ,$ modelAlias ){
28+ $ this ->_prefetchModels [$ key ] = $ modelAlias ;
29+ }
30+
2731 private function _prepareChildModels ()
2832 {
2933 $ this ->_prefetchModels = $ this ->_getDefaultPrefetchers ();
Original file line number Diff line number Diff line change 99<config >
1010 <modules >
1111 <TheExtensionLab_MegaMenu >
12- <version >1.4 .0</version >
12+ <version >1.5 .0</version >
1313 </TheExtensionLab_MegaMenu >
1414 </modules >
1515
You can’t perform that action at this time.
0 commit comments