Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • email_new_user
  • federated_logon
  • http_auth
  • quota_manager
  • register_user
  • user_expiry
  • user_groups
  • user_logout_options

Functions

  • printRegisterURL
  • printRegistrationForm
  • printUserLogin_out
  • user_mailing_list_button
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class federated_logon

Option class

Package: plugins\users
Author: Stephen Billard (sbillard)
Located at zp-extensions/federated_logon.php
Methods summary
public
# __construct( )

Option instantiation

Option instantiation

public
# getOptionsSupported( )

Provides option list

Provides option list

public
# handleOption( $option, $currentValue )

Handles the custom option $option

Handles the custom option $option

Parameters

$option
$currentValue
public static
# css( )

Load the CSS for the logon buttons

Load the CSS for the logon buttons

public static
# alt_login_handler( $handler_list )

Provides a list of alternate handlers for logon

Provides a list of alternate handlers for logon

Parameters

$handler_list
public static
# credentials( $user, $email, $name, $redirect )

Common logon handler. Will log the user on if he exists. Otherwise it will create a user accoung and log on that account.

Common logon handler. Will log the user on if he exists. Otherwise it will create a user accoung and log on that account.

Redirects into Zenphoto on success presuming there is a redirect link.

Parameters

$user
$email
$name
$redirect
public static
# save_custom( $updated, $userobj, $i, $alter )

Check if an e-mail address has been provided

Check if an e-mail address has been provided

Parameters

$updated
$userobj
$i
$alter
public static
# edit_admin( $html, $userobj, $i, $background, $current, $local_alterrights )

Enter Admin user tab handler

Enter Admin user tab handler

Parameters

$html
$userobj
$i
$background
$current
$local_alterrights
public static string
# verify( string $script )

Processes the verification POST tickets

Processes the verification POST tickets

Parameters

$script
(we do not use this)

Returns

string
public static
# buttons( $redirect = NULL )

Creates a list of logon buttons for federated logon handlers. Note that it will use an image if one exists. The name of the image should be cononical to the name of the logon handler, but without the "_logon'. The image must be a PNG file.

Creates a list of logon buttons for federated logon handlers. Note that it will use an image if one exists. The name of the image should be cononical to the name of the logon handler, but without the "_logon'. The image must be a PNG file.

The styling of the buttons is done by the "federated_logon_buttons.css". If you do not like the one provided place an alternate version in your theme folder or the plugins/federated_logon folder.

Zenphoto doc API documentation generated by ApiGen