Plugins
[ class tree: Plugins ] [ index: Plugins ] [ all elements ]

Class: ClientAuth

Source Location: /plugins/auth/client/ClientAuth.php

Class Overview

PluginBase
   |
   --ClientPlugin
      |
      --ClientAuth

Client authentification plugin based on PEAR:Auth


Variables

Methods


Inherited Variables

Inherited Methods

Class: ClientPlugin

ClientPlugin::__construct()
Constructor
ClientPlugin::checkBool()
Checks if variable $variable has a boolean (0 or 1) value $value.
ClientPlugin::checkInt()
Checks if variable $variable has an integer positive or zero value $value.
ClientPlugin::checkNumeric()
Checks if variable $variable has a numeric value $value.
ClientPlugin::getCartoclient()
ClientPlugin::getConfig()
ClientPlugin::getHttpValue()
Returns the user-submitted $key data if it is set.
ClientPlugin::initializeConfig()
Initializes plugin configuration

Class: PluginBase

PluginBase::__construct()
Constructor
PluginBase::getBasePath()
PluginBase::getExtendedName()
PluginBase::getName()
PluginBase::getRequest()
Get plugin's request or result out of MapRequest or MapResult
PluginBase::initialize()
Plugin initialization (can be extended in custom plugins)
PluginBase::initializeConfig()
Initializes plugin
PluginBase::replacePlugin()
Returns name of parent plugin in case of plugin extension
PluginBase::setBasePath()
PluginBase::setExtendedName()
PluginBase::setName()

Class Details

[line 123]
Client authentification plugin based on PEAR:Auth



[ Top ]


Class Variables

$auth =

[line 129]

Pear::Auth object for managing the authentication



Tags:

access:  private

Type:   Auth


[ Top ]

$loginFailed =

[line 135]

True to store the fact that the user authentication failed.



Tags:

access:  private

Type:   boolean


[ Top ]



Class Methods


method authCallback [line 143]

string authCallback( string $reason)

Common code called by all Pear::Auth callbacks. It handles the login page display.



Tags:

return:  Smarty result
access:  private


Parameters:

string   $reason   reason the page is called for

[ Top ]

method buildMapRequest [line 290]

void buildMapRequest( mixed $mapRequest)



Tags:

access:  public
see:  ServerCaller::buildMapRequest()


[ Top ]

method drawAuth [line 264]

void drawAuth( )

Draws the login/logout buttons. Their availibility depends on whether the user is logged in or not.



Tags:

access:  private


[ Top ]

method failedLoginCallback [line 173]

void failedLoginCallback( )

Callback for Pear::Auth, when the login failed



Tags:

access:  public


[ Top ]

method handleHttpCommonRequest [line 235]

void handleHttpCommonRequest( mixed $request)

Handles Get and Post requests



Tags:

access:  private


[ Top ]

method handleHttpGetRequest [line 256]

void handleHttpGetRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpGetRequest()


[ Top ]

method handleHttpPostRequest [line 249]

void handleHttpPostRequest( mixed $request)



Tags:

access:  public
see:  GuiProvider::handleHttpPostRequest()


[ Top ]

method handleResult [line 304]

void handleResult( mixed $outlineResult)



Tags:

access:  public
see:  ServerCaller::handleResult()


[ Top ]

method initialize [line 180]

void initialize( )



Tags:

access:  public
see:  PluginBase::initialize()


Overrides PluginBase::initialize() (Plugin initialization (can be extended in custom plugins))

[ Top ]

method initializeResult [line 297]

void initializeResult( mixed $result)



Tags:

access:  public
see:  ServerCaller::initializeResult()


[ Top ]

method interruptFlow [line 215]

void interruptFlow( )

Interrupts cartoweb flow of operation. Necessary, when displaying the login/logout page.



Tags:

access:  private


[ Top ]

method loginCallback [line 159]

void loginCallback( )

Callback for Pear::Auth, when the user logs in



Tags:

access:  public


[ Top ]

method logoutCallback [line 166]

void logoutCallback( )

Callback for Pear::Auth, when the user logs out



Tags:

access:  public


[ Top ]

method renderForm [line 277]

void renderForm( Smarty $smarty)



Tags:

access:  public
see:  GuiProvider::renderForm()


[ Top ]

method showLogin [line 224]

void showLogin( )

Displays the Pear::Auth login page. It interrupts cartoweb flow.



Tags:

access:  private


[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:29 +0200 by phpDocumentor 1.3.0RC3