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

Class: Sps_Users

Source Location: /sps_users.php

Class Overview

Sps
   |
   --Sps_Table
      |
      --Sps_Users



Methods


Inherited Methods


Class Details

[line 3]


[ Top ]


Class Methods


static method user_get [line 286]

static void user_get( )

Get the currently signed-in user.



[ Top ]

static method user_get_required [line 319]

static void user_get_required( )

Get the currently signed-in user. On failure, redirect to the login page. After this function is called, we can guarantee that the user is logged in.



[ Top ]

static method user_in_group [line 292]

static void user_in_group( $group_name, [ $user_id = 0])



Parameters:

   $group_name  
   $user_id  

[ Top ]

method change_password [line 398]

void change_password( Sps_Form &$form, [ $user_id = 0])



Parameters:

Sps_Form   &$form  
   $user_id  

[ Top ]

method conf [line 7]

void conf( )



Overrides Sps_Table::conf() (parent method not documented)

[ Top ]

method get_record_name [line 385]

void get_record_name( Sps_Form &$form)



Overrides Sps_Table::get_record_name() (parent method not documented)

Parameters:

Sps_Form   &$form  

[ Top ]

method login [line 178]

void login( Sps_Form &$form)



Parameters:

Sps_Form   &$form  

[ Top ]

method logout [line 151]

void logout( )



[ Top ]

method save [line 332]

void save( Sps_Form &$form)

Calls the parent save() function, but:
  • Before saving, validates that the two passwords are the same
  • After saving, updates the password.




Overrides Sps_Table::save() (parent method not documented)

Parameters:

Sps_Form   &$form  

[ Top ]

method user_list [line 261]

void user_list( )



[ Top ]

method _user_get [line 226]

void _user_get( [ $ticket = ""])



Parameters:

   $ticket  

[ Top ]


Documentation generated on Mon, 23 Apr 2007 09:51:16 -0500 by phpDocumentor 1.3.0RC6