Class Teacher

Description

Teacher class for teacher-type supervisors

Located in /classes/class_teacher.php (line 17)

Base
   |
   --Supervisor
      |
      --Teacher
Method Summary
Teacher __construct ([mixed $username = ""])
void add_school (mixed $school_id)
void get_schools ()
void remove_school (mixed $rem_school_id)
void set_username (mixed $username)
Variables
Methods
Constructor __construct (line 23)

Initializes attributes. This method is overwritten

  • access: public
Teacher __construct ([mixed $username = ""])

Redefinition of:
Supervisor::__construct()
Initializes attributes
add_school (line 60)

Adds param given school to teacher

  • access: public
void add_school (mixed $school_id)
get_schools (line 39)
  • access: public
void get_schools ()
remove_school (line 46)

Remose school from teacher by given id

  • access: public
void remove_school (mixed $rem_school_id)
set_username (line 80)

When username is set, fetch-method for user data and schools is executed

  • access: public
void set_username (mixed $username)

Redefinition of:
Supervisor::set_username()

Inherited Methods

Inherited From Supervisor

Supervisor::__construct()
Supervisor::authorized()
Supervisor::fetch()
Supervisor::free()
Supervisor::get_email()
Supervisor::get_first_name()
Supervisor::get_last_name()
Supervisor::get_name()
Supervisor::get_password()
Supervisor::get_type()
Supervisor::get_type_fin()
Supervisor::get_username()
Supervisor::insert_new_to_db()
Supervisor::set_all()
Supervisor::set_auth()
Supervisor::set_username()
Supervisor::update_to_db()
Supervisor::writeout_info()
Supervisor::__destruct()

Inherited From Base

Base::make_query()

Documentation generated on Mon, 16 May 2005 16:11:52 +0300 by phpDocumentor 1.3.0RC3