[Solar-talk] _flash add_ok?

Paul M Jones pmjones at solarphp.com
Tue Aug 8 04:56:21 PDT 2006


On Aug 8, 2006, at 2:58 AM, Jeff Surgeson wrote:

> Hi Paul
>
> In your add method's you set a _flash value after the save() like so
> $this->_flash->set('add_ok', true) however appear to not do  
> anything with it.
>
> Is it there just in case, or does it have another purpose that I am  
> missing?

What I'm *supposed* to be doing is checking that flash again in the  
following actionEdit() method, so that I can show an "add succeeded"  
message.  Am I not doing so?



--

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