TITAN Library for PHP5  5.1.0
Web Software Development Kit for PHP5
auth_type Class Reference

Titan Authentication Type Definition Class. More...

Detailed Description

Titan Authentication Type Definition Class.

Class: \tl\core\auth_type

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
5.1.0

Constructor:

__construct($type = '')

Parameters:
    array    $array      (optional) Initialize with this array
                         (default) empty array
    string   $type       Authentication type

        'public'              customer authentication
        'admin'               staff authentication
        'ldap'                ldap/staff authentication

Example: $auth_type = new \tl\core\auth_type('ldap');

Property Set Methods:

type(string $type)
    Set the Authentication type (see constructor)

table(string $table)
    Set the users table

tpl_path(string $tpl_path)
    Set the template path for the login form

form(string $form)
    Set the filename for the login form template

ldap(boolean)
    Use LDAP?

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