drupal.php File Reference


Detailed Description

Provide an Embient interface for Drupal.

Version:
1.0
Author:
BoogieBug
This file contains a lot of Drupal specific functions and information. Please check Drupal's documentation for more details.

Drupal Module Installation

To enable Embient on Drupal, create a file in Drupal's module directory named 'embient.module', and put the following lines into it:

 <?php
 require_once("<path_of_embient>/drupal.php");

Definition in file drupal.php.

Go to the source code of this file.

Enumerations

enum  EMBIENT_ADMIN
enum  EMBIENT_CATEGORY

Functions

 embient_init ()
 Implementation of hook_init().
 embient_help ($section= '')
 Implementation of hook_help().
 embient_perm ()
 embient_menu ($may_cache)
 Implementation of hook_menu.
 embient_admin ($arg=NULL)
 Callback for Administration Menu from embient_menu().
 embient_user ($type, &$edit, &$user, $category=NULL)
 Implementation of hook_user().
 embient_footer ($main)
 _embient_log_debug ($msg)
 Helper function to log debug message to Drupal watchdog.
 _embient_log_error ($msg, $file, $line)
 Helper function to log error message to Drupal watchdog.

Variables

 $Embient = NULL


Enumeration Type Documentation

enum EMBIENT_ADMIN
 

For internal use only.

accessing right to present to Drupal

Definition at line 29 of file drupal.php.

enum EMBIENT_CATEGORY
 

For internal use only.

category name to present to Drupal in user section

Definition at line 32 of file drupal.php.


Function Documentation

_embient_log_debug msg  ) 
 

Helper function to log debug message to Drupal watchdog.

For internal use only.

Parameters:
$msg string - message to be added

Definition at line 457 of file drupal.php.

_embient_log_error msg,
file,
line
 

Helper function to log error message to Drupal watchdog.

For internal use only.

Parameters:
$msg string - message to be added
$file string - file name of the module generating error
$line integer - line number that generating error

Definition at line 475 of file drupal.php.

embient_admin arg = NULL  ) 
 

Callback for Administration Menu from embient_menu().

Definition at line 103 of file drupal.php.

Here is the call graph for this function:

embient_footer main  ) 
 

Definition at line 434 of file drupal.php.

embient_help section = ''  ) 
 

Implementation of hook_help().

Definition at line 55 of file drupal.php.

embient_init  ) 
 

Implementation of hook_init().

Definition at line 42 of file drupal.php.

Here is the call graph for this function:

embient_menu may_cache  ) 
 

Implementation of hook_menu.

Definition at line 82 of file drupal.php.

Here is the call graph for this function:

embient_perm  ) 
 

Definition at line 72 of file drupal.php.

embient_user type,
&$  edit,
&$  user,
category = NULL
 

Implementation of hook_user().

Definition at line 295 of file drupal.php.


Variable Documentation

$Embient = NULL
 

For internal use only.

The Embient object.

Definition at line 37 of file drupal.php.


Generated on Fri Feb 10 15:05:54 2006 for Embient by  doxygen 1.4.6-NO