How to generalize a script for any table.
I have a quick question, that I haven't been able to find an answer to. I'm trying to make a better navigation system. Right now I have a script that requires Assets::_nav but I'd like to use the script globally. That is, i'd like to be able to add _nav to every table and be able to use the same script in each one. More or less, i'd like to be able to do (this table)::_nav. So, it would work for Assets::nav and Employee::nav, and anything else. Is this possible?