Thank you.
On Nov 2, 3:10 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Nov 1, 2:46 pm, Richard <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have several component classes that need to extend a parent class.
> > Which is the correct approach:
>
> > class Availability extends Object
> > {
> > var $components = array('Parent');
>
> > OR:
>
> > class Availability extends Parent
> > {
>
> > Thanks in advance.
>
> It's up to you, depending on whether you want to use the functionality
> of the component named "Parent" or inherit it with some modifications.
> ensure that the Parent component is loaded if you do the latter.
>
> hth,
>
> AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---