File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2727 $ class .= ' default ' ;
2828 }
2929
30- if ($ item ->id == $ active_id || ($ item ->type === 'alias ' && $ item ->params ->get ('aliasoptions ' ) == $ active_id ))
30+ if ($ item ->id == $ active_id || ($ item ->type === 'alias ' && $ item ->getParams () ->get ('aliasoptions ' ) == $ active_id ))
3131 {
3232 $ class .= ' current ' ;
3333 }
3838 }
3939 elseif ($ item ->type === 'alias ' )
4040 {
41- $ aliasToId = $ item ->params ->get ('aliasoptions ' );
41+ $ aliasToId = $ item ->getParams () ->get ('aliasoptions ' );
4242
4343 if (count ($ path ) > 0 && $ aliasToId == $ path [count ($ path ) - 1 ])
4444 {
Original file line number Diff line number Diff line change 1515
1616$ linktype = $ item ->title ;
1717
18- $ astroid_menu_options = $ item ->params ->get ('astroid_menu_options ' , []);
18+ $ astroid_menu_options = $ item ->getParams () ->get ('astroid_menu_options ' , []);
1919$ astroid_menu_options = (array ) $ astroid_menu_options ;
2020
2121if ($ item ->menu_image ) {
2626 $ linktype = JHtml::_ ('image ' , $ item ->menu_image , $ item ->title );
2727 }
2828
29- if ($ item ->params ->get ('menu_text ' , 1 )) {
29+ if ($ item ->getParams () ->get ('menu_text ' , 1 )) {
3030 $ linktype .= '<span class="image-title"> ' . $ item ->title . '</span> ' ;
3131 }
3232}
Original file line number Diff line number Diff line change 2727 $ class .= ' default ' ;
2828 }
2929
30- if ($ item ->id == $ active_id || ($ item ->type === 'alias ' && $ item ->params ->get ('aliasoptions ' ) == $ active_id ))
30+ if ($ item ->id == $ active_id || ($ item ->type === 'alias ' && $ item ->getParams () ->get ('aliasoptions ' ) == $ active_id ))
3131 {
3232 $ class .= ' current ' ;
3333 }
3838 }
3939 elseif ($ item ->type === 'alias ' )
4040 {
41- $ aliasToId = $ item ->params ->get ('aliasoptions ' );
41+ $ aliasToId = $ item ->getParams () ->get ('aliasoptions ' );
4242
4343 if (count ($ path ) > 0 && $ aliasToId == $ path [count ($ path ) - 1 ])
4444 {
Original file line number Diff line number Diff line change 1515
1616$ linktype = $ item ->title ;
1717
18- $ astroid_menu_options = $ item ->params ->get ('astroid_menu_options ' , []);
18+ $ astroid_menu_options = $ item ->getParams () ->get ('astroid_menu_options ' , []);
1919$ astroid_menu_options = (array ) $ astroid_menu_options ;
2020
2121if ($ item ->menu_image ) {
2626 $ linktype = JHtml::_ ('image ' , $ item ->menu_image , $ item ->title );
2727 }
2828
29- if ($ item ->params ->get ('menu_text ' , 1 )) {
29+ if ($ item ->getParams () ->get ('menu_text ' , 1 )) {
3030 $ linktype .= '<span class="image-title"> ' . $ item ->title . '</span> ' ;
3131 }
3232}
You can’t perform that action at this time.
0 commit comments