Overview

Classes

  • Ws_logged_inModel
  • Ws_permissionsModel
  • Ws_role_permModel
  • Ws_rolesModel
  • Ws_user_roleModel
  • Ws_userModel
  • WsAuth
  • WsauthController
  • WsChart
  • WsConfig
  • WsController
  • WsDatabase
  • WsForm
  • WsImage
  • WsLocalize
  • WsModel
  • WsModelForm
  • WsModelGridView
  • WsUrl

Functions

  • __autoload
  • callHook
  • WsErrorHandler
  • Overview
  • Class

Class WsauthController

WsAuthController Controller for WsAuth module. It contains next views:

  • register
  • login
  • logout
  • admin
  • rolePerms
  • userRoles
  • edit
  • verify
See: WsController
See: WsAuth
Located at controllers/WsauthController.php
Methods summary
public
# __construct( )
public
# register( $email = null, $password = null )

display registration form

display registration form

public
# login( string $email = null, string $password = null )

Try to login user by it's email address and password and shows login form if it fail or if login informations are not provided

Try to login user by it's email address and password and shows login form if it fail or if login informations are not provided

Parameters

$email
User email address
$password
User password
public
# logout( )

logout current loged in user

logout current loged in user

public
# admin( )

administer user accounts

administer user accounts

public
# rolePerms( )

manage permissions for roles

manage permissions for roles

public
# userRoles( )

manage permissions for roles

manage permissions for roles

public
# edit( )

edit user account for currently loged in user

edit user account for currently loged in user

public
# verify( string $verification_code = null )

verify new user account

verify new user account

Parameters

$verification_code
Verification code
Properties summary
public string $layout

$layout Name of layout file located in '/public/layouts'

$layout Name of layout file located in '/public/layouts'

#
public string $title

$title Web page title

$title Web page title

#
public array $breadcrumbs

$breadcrumbs List of links that indicate position in Web app

$breadcrumbs List of links that indicate position in Web app

#
API documentation generated by ApiGen