(The answer to this, if there is one, is probably out there already, but I lack the proper terminology.)
I have a function, a(), that I want to override, but also have the original a() be performed in an order depending on the context. For example, sometimes when I'm generating a page I'll want to override like this:
function a()
{
new_code();
original_a();
}
and sometimes like this:
function a()
{
original_a();
other_new_code();
}
How do I get that original_a() from within the over-riding a()? Is it even possible?
(Please don't suggest alternatives to over-riding in this way, I know of many. I'm asking about this way specifically.)