Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

filtering categories

naquadaqnaquadaq New
edited April 2012 in Vanilla 2.0 - 2.8

Hi,

I'm working in a plugin that needs to filter the list of categories that appear in the main screen according to a parameter I have stored in the session (and the permissions used untill now). I have thought that the pherhaps if I could modify the behaviour of the getFull CategoryModel method and that I could add here my new condition. I this the right solution? If so, how can I override the getFull CategoryModel method in my plugin (I haven't fould a way of override a magic method) ? If not, what would be the best solution to do this? Pherhaps modifying some controller or view ?

Thank you in advance.

Sign In or Register to comment.