Re: [PHP] What is the name of the pattern that will ...

2013-06-14 Thread Richard Quadling
On 13 June 2013 18:38, David Harkness wrote: > Hi Richard, > > On Thu, Jun 13, 2013 at 10:16 AM, Richard Quadling wrote: > >> I'm building a class which needs to have certain methods called by the >> subclass, but the subclass can extend but not obscure/override the >> behaviour. >> > > This is t

Re: [PHP] What is the name of the pattern that will ...

2013-06-13 Thread David Harkness
Hi Richard, On Thu, Jun 13, 2013 at 10:16 AM, Richard Quadling wrote: > I'm building a class which needs to have certain methods called by the > subclass, but the subclass can extend but not obscure/override the > behaviour. > This is the Template Method pattern, though in this case you could us

[PHP] What is the name of the pattern that will ...

2013-06-13 Thread Richard Quadling
Hi. I'm building a class which needs to have certain methods called by the subclass, but the subclass can extend but not obscure/override the behaviour. So, for example, a method AuthRequestMade() will record the activity of making an authorisation request. It cannot make the actual request as th