w_login

Template of login module.  Release: $Name: $

Edit by: $Author: mcbig $ Edit Date: $Date: 2007/01/02 16:13:12 $ Version: $Revision: 1.6 $

Summary
Template of login module.
Returns login Form
Return sha generate Form.
Main menu of this module
Autenticate user by his login and password.
Checks POST action and variables of WLogin_LoginForm.
Main expected module function, which processes module actions.
This functions is called from index.php or admin.php in our example to do some initializations of modul.

Functions

WLogin_LoginForm

function WLogin_LoginForm()

Returns login Form

WLogin_ShaForm

function WLogin_ShaForm($shakey =  '')

Return sha generate Form.

WLogin_Menu

function WLogin_Menu()

Main menu of this module

WLogin_LoginCheck

function WLogin_LoginCheck($isLogin,
$isPass)

Autenticate user by his login and password.

Expected module functions

Summary
Checks POST action and variables of WLogin_LoginForm.
Main expected module function, which processes module actions.
This functions is called from index.php or admin.php in our example to do some initializations of modul.

Functions

WLogin_Login

function WLogin_Login()

Checks POST action and variables of WLogin_LoginForm.  This function is expected when modul is set as Login module.  See modules.php for more details.

WLogin_Action

function WLogin_Action()

Main expected module function, which processes module actions.  It is called from index.php or admin.php in our example.

WLogin_Init

function WLogin_Init()

This functions is called from index.php or admin.php in our example to do some initializations of modul.  Here we call WLogin_Menu.

function WLogin_LoginForm()
Returns login Form
Form class can generate form with some functions like be center on page as normal window.
function WLogin_ShaForm($shakey =  '')
Return sha generate Form.
function WLogin_Menu()
Main menu of this module
function WLogin_LoginCheck($isLogin,
$isPass)
Autenticate user by his login and password.
function WLogin_Login()
Checks POST action and variables of WLogin_LoginForm.
function WLogin_Action()
Main expected module function, which processes module actions.
function WLogin_Init()
This functions is called from index.php or admin.php in our example to do some initializations of modul.
This file sorts requirements for system by module.
Copy of index.php.
Template of modules.php.