[pLog-svn] AdminLoginAction

Oscar Renalias oscar at renalias.net
Tue Mar 21 20:10:16 GMT 2006


the value of the "op" parameter of a GET/POST request is used by the  
Controller class (based on the mappings provided in class/controller/ 
admincontrollermap.class.php) to determine to which action class the  
request should be dispatched. LifeType uses a single FrontController  
that takes care of all requests, implemented in the Controller class.  
There is some information about this class in the API: http:// 
www.lifetype.net/api/d8/d87/class_controller.html. There's a bit more  
on MVC in the wiki, if interested: http://wiki.lifetype.net/index.php/ 
Model-View-Controller_in_LifeType

Oscar

On 21 Mar 2006, at 21:18, Jesse Peterson wrote:

> Hello,
>
> I've been attempting to modify the login behavior of LifeType and  
> have been going through the source to learn more.  I have one  
> question thus far: how is AdminLoginAction being dispatched to?
>
> I see that it is an entry in the Admin action mapping.  The only  
> feasible thing I can find is that somehow the 'Login' name of the  
> submit button on the login page/template is triggering the action -  
> but I'm not seeing any code that triggers actions from submit  
> control names.
>
> Any help is appreciated.  Thank you!
> - Jesse
>
>
> --
> Jesse Peterson <jesse.peterson at exbiblio.com>
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list