Moodle  2.2.1
http://www.collinsharper.com
Auth_RADIUS_Acct Class Reference
Inheritance diagram for Auth_RADIUS_Acct:
Collaboration diagram for Auth_RADIUS_Acct:

Public Member Functions

 Auth_RADIUS_Acct ()
 open ()
 createRequest ()
 putAuthAttributes ()

Data Fields

 $authentic = null
 $status_type = null
 $session_time = null
 $session_id = null

Detailed Description

Definition at line 845 of file RADIUS.php.


Member Function Documentation

Constructor

Generates a predefined session_id. We use the Remote-Address, the PID, and the Current user.

Returns:
void

Definition at line 879 of file RADIUS.php.

Here is the call graph for this function:

Creates an accounting request

Creates an accounting request. You MUST call this method before you can put any attribute.

Returns:
bool true on success, false on error

Reimplemented from Auth_RADIUS.

Definition at line 917 of file RADIUS.php.

open ( )

Creates a RADIUS resource

Creates a RADIUS resource for accounting. This should be the first call before you make any other things with the library.

Returns:
bool true on success, false on error

Reimplemented from Auth_RADIUS.

Definition at line 900 of file RADIUS.php.

Put attributes for accounting.

Here we put some accounting values. There many more attributes for accounting, but for web-applications only certain attributes make sense.

Returns:
void

Reimplemented from Auth_RADIUS.

Definition at line 932 of file RADIUS.php.

Here is the call graph for this function:


Field Documentation

$authentic = null

Definition at line 852 of file RADIUS.php.

$session_id = null

Definition at line 871 of file RADIUS.php.

$session_time = null

Definition at line 865 of file RADIUS.php.

$status_type = null

Reimplemented in Auth_RADIUS_Acct_Update, Auth_RADIUS_Acct_Stop, and Auth_RADIUS_Acct_Start.

Definition at line 859 of file RADIUS.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations