Cheetah
Public Member Functions | Public Attributes | List of all members
Login Class Reference
Inheritance diagram for Login:
ThingPage Thing

Public Member Functions

 __construct ()
 
 getJoinForm ()
 
 getLoginForm ()
 
 joinSubmit ($p)
 
 loginSubmit ($p)
 
 _getJsErr ($name, $err)
 
 _checkUniqUser ($s)
 
 _checkUniqEmail ($s)
 
 _genPwd ()
 
- Public Member Functions inherited from ThingPage
 getLangs ()
 
 getLangsXml ()
 
 getUrlsXml ()
 
 addHeaderFooter (&$li, $content)
 
 getPageXML ($first_load=1, &$p)
 
 cacheWrite ($fn, $s)
 
 cacheRead ($fn)
 
 cacheExists ($fn)
 
 cacheEnabled ()
 

Public Attributes

 $f_join
 
 $f_login
 

Detailed Description

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file Login.php.

Constructor & Destructor Documentation

◆ __construct()

Login::__construct ( )

constructor

Reimplemented from ThingPage.

Definition at line 55 of file Login.php.

Member Function Documentation

◆ _checkUniqEmail()

Login::_checkUniqEmail (   $s)

Definition at line 181 of file Login.php.

◆ _checkUniqUser()

Login::_checkUniqUser (   $s)

Definition at line 175 of file Login.php.

◆ _genPwd()

Login::_genPwd ( )

Definition at line 187 of file Login.php.

◆ _getJsErr()

Login::_getJsErr (   $name,
  $err 
)

Definition at line 163 of file Login.php.

◆ getJoinForm()

Login::getJoinForm ( )

join window xml

Definition at line 63 of file Login.php.

◆ getLoginForm()

Login::getLoginForm ( )

login window xml

Definition at line 72 of file Login.php.

◆ joinSubmit()

Login::joinSubmit (   $p)

submit join

Parameters
$pjoin fields

Definition at line 82 of file Login.php.

◆ loginSubmit()

Login::loginSubmit (   $p)

submit login

Parameters
$pusername/password fields

Definition at line 131 of file Login.php.

Member Data Documentation

◆ $f_join

Login::$f_join
Initial value:
= array (
'username' => array (
'value' => '',
'type' => 'text',
'title' => '[L[Username]]',
'regexp' => '/^[A-Za-z0-9_]{4,12}$/',
'err' => '[L[Join Login Username Error]]',
'attributes' => array ('class' => 'sh'),
),
'email' => array (
'value' => '',
'type' => 'text',
'title' => '[L[Email]]',
'regexp' => '/^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/',
'err' => '[L[Join Email Error]]',
'attributes' => array ('class' => 'sh'),
),
)

Definition at line 13 of file Login.php.

◆ $f_login

Login::$f_login
Initial value:
= array (
'username' => array (
'value' => '',
'type' => 'text',
'title' => '[L[Username]]',
'regexp' => '/^[A-Za-z0-9_]{4,12}$/',
'err' => '[L[Join Login Username Error]]',
'attributes' => array ('class' => 'sh'),
),
'pwd' => array (
'value' => '',
'type' => 'password',
'title' => '[L[Password]]',
'regexp' => '/^[A-Za-z0-9_]+$/',
'err' => '[L[Login Password Error]]',
'attributes' => array ('class' => 'sh'),
),
)

Definition at line 33 of file Login.php.


The documentation for this class was generated from the following file: