Method Hooks

Method hooks are a mechanism for altering the behaviour of a specific object without affecting the class from which it is derived, or any of its sibling objects.

They are used in conjunction with property objects? to provide a unified method of tampering with the way a method operates for a specific object.

Method hooks are very similar to "aspects" in Aspect-Oriented Programming.

Ged The Greys Hain - 20 May 2000