I did mean iff as in "if and only if". Just "if" would be fine, though.

How about "addGetHookIf"?

>
I suck at making up meaningful short names. :) I wanted to have "get" in
the name to indicate it's adding a hook only for getter. The first version
of this patch accepted a method name as the second parameter but since we
have only "get" hooks to be handled this way, I removed the option.

I also wanted to include "if" to indicate it's a conditional hook
definition. But if you thimk that's not needed here, maybe "addGetHook"?


-- 
Michał Z. Gołębiowski