EmbientDrupal Class Reference

Inheritance diagram for EmbientDrupal:

Inheritance graph
[legend]
Collaboration diagram for EmbientDrupal:

Collaboration graph
[legend]
List of all members.

Detailed Description

Implementation of Embient plugin class for Drupal.

Definition at line 48 of file drupal.plugin.php.

Public Member Functions

 EmbientDrupal ()
 constructor - See embient.plugin.php
 Init ($cfg)
 Drupal implementation of Init() - See embient.plugin.php.
 Login ($username)
 Drupal implementation of Login() - See embient.plugin.php.
 Logout ($username)
 Drupal implementation of Logout() - See embient.plugin.php.
 Add ($user)
 Drupal implementation of Add() - See embient.plugin.php.
 Update ($username, $user)
 Drupal implementation of Update() - See embient.plugin.php.
 Delete ($username)
 Drupal implementation of Delete() - See embient.plugin.php.

Public Attributes

 $conf
 configurations loaded from Embient config file
 $vars
 configurations loaded from database
 $user
 System specific user info that can be directly loaded from or saved to database.
 $name
 Name of this system.

Protected Member Functions

 _Load ($username)
 Drupal implementation of _Load() - See embient.plugin.php.
 _ConvertUserInfo ($user, $default=true)
 Drupal implementation of _ConvertUserInfo() - See embient.plugin.php.

Protected Attributes

 $_common_fields
 list of Embient user info fields.


Constructor & Destructor Documentation

EmbientDrupal::EmbientDrupal  ) 
 

constructor - See embient.plugin.php

Definition at line 61 of file drupal.plugin.php.

Here is the call graph for this function:


Member Function Documentation

EmbientDrupal::_ConvertUserInfo user,
default = true
[protected]
 

Drupal implementation of _ConvertUserInfo() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 354 of file drupal.plugin.php.

Here is the call graph for this function:

EmbientDrupal::_Load username  )  [protected]
 

Drupal implementation of _Load() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 297 of file drupal.plugin.php.

Here is the call graph for this function:

EmbientDrupal::Add user  ) 
 

Drupal implementation of Add() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 185 of file drupal.plugin.php.

Here is the call graph for this function:

EmbientDrupal::Delete username  ) 
 

Drupal implementation of Delete() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 266 of file drupal.plugin.php.

EmbientDrupal::Init cfg  ) 
 

Drupal implementation of Init() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 79 of file drupal.plugin.php.

EmbientDrupal::Login username  ) 
 

Drupal implementation of Login() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 123 of file drupal.plugin.php.

Here is the call graph for this function:

EmbientDrupal::Logout username  ) 
 

Drupal implementation of Logout() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 174 of file drupal.plugin.php.

EmbientDrupal::Update username,
user
 

Drupal implementation of Update() - See embient.plugin.php.

Reimplemented from EmbientPlugin.

Definition at line 222 of file drupal.plugin.php.

Here is the call graph for this function:


Member Data Documentation

EmbientPlugin::$_common_fields [protected, inherited]
 

Initial value:

 array
      (
        'name',
        'passwd',
        'mail',
        'firstname',
        'lastname',
        'signature',
        'timezone',
      )
list of Embient user info fields.

This is the list of fileds those are common between system. It represent the information in Embient style and need to map to system specific name using plugin's _ConvertUserInfo methods.

The fields are:

  • name -> user login name
  • passwd -> user loing password
  • mail -> user email
  • firstname -> user's first name
  • lastname -> user's last name
  • signature -> user's signature
  • timezone -> number of seconds from GMT, e.g., 25200 for GMT+7 and -25200 for GMT -7

Definition at line 88 of file embient.plugin.php.

EmbientDrupal::$conf
 

configurations loaded from Embient config file

Definition at line 51 of file drupal.plugin.php.

EmbientPlugin::$name [inherited]
 

Name of this system.

Definition at line 49 of file embient.plugin.php.

EmbientPlugin::$user [inherited]
 

System specific user info that can be directly loaded from or saved to database.

Definition at line 46 of file embient.plugin.php.

EmbientDrupal::$vars
 

configurations loaded from database

Definition at line 54 of file drupal.plugin.php.


The documentation for this class was generated from the following file:
Generated on Fri Feb 10 15:05:56 2006 for Embient by  doxygen 1.4.6-NO