[Solar-talk] Solar_Sql_Table initial rows

Paul M Jones pmjones at solarphp.com
Fri Jul 14 10:57:19 PDT 2006


On Jul 14, 2006, at 6:48 AM, Antti Holvikari wrote:

>> 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 :-)

OK, let's call it _postCreate().  The _postCreate() method will be  
called at the end of _autoCreate().  _postCreate() should return  
boolean true if it executes successfully; returning anything else  
will indicate that post-creation failed and the table creation should  
be rolled back.

If that sounds OK, I'll write it up and commit it later today or  
tomorrow.


--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list