[Solar-talk] Auth process in closed apps

Paul M Jones pmjones at solarphp.com
Thu Aug 10 06:59:06 PDT 2006


On Aug 10, 2006, at 8:06 AM, Rodrigo Moraes wrote:

> On 8/10/06, Antti Holvikari wrote:
>>  http://svn.sourceforge.net/viewvc/aquamdb/trunk/Aquamdb/App/ 
>> Manage.php?view=markup,
>
> nice code! inline docs make everything look better, uh? :-)
>
>> line 303. I think _preRun() is exactly the right place for this
>> permission check.
>
> Ah, there is also _preRun(). I've never used it. Will take a look at
> how it differs from _preAction(). Thanks for the cool example!

* _preRun -- before all actions begin

* _preAction -- before each action (including _forward())

* _postAction -- after each action (including _forward())

* _postRun -- after all actions are done

* _preRender -- before rendering and layout

* _postRender -- after rendering and layout

Let me know if that helps.


--

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