[Solar-talk] Solar_Sql_Table initial rows
Antti Holvikari
anttih at gmail.com
Fri Jul 14 06:48:11 PDT 2006
On 7/11/06, Paul M Jones <pmjones at solarphp.com> wrote:
> On Jul 11, 2006, at 5:21 AM, Antti Holvikari wrote:
>
> > Would it make sense to add a method to Solar_Sql_Table that user could
> > implement to be able to insert some data to the table. I see it could
> > run just before _autoCreate returns true. Or is there a solution for
> > this already?
>
> I had never thought of it, really. I suppose one could override
> _autoCreate() and then insert new rows if the parent returned true.
I can't override it because it's final.
> You're probably right. _postCreate() perhaps?
Have you decided on this yet? My opinion is that _autoCreate should
stay "final" and we should add _postCreate. I will need that soon :-)
--
Antti Holvikari
Zend Certified Engineer (ZCE)
More information about the solar-talk
mailing list