Class School

Description

School class writes SQL for school controlling

Located in /classes/class_school.php (line 13)

Base
   |
   --School
Method Summary
School __construct ([mixed $arr = array()])
void __destruct ()
void free ()
void get_as_arr ()
void get_id ()
void get_name ()
void get_type ()
void get_zone_id ()
void set_name (mixed $nam)
void set_type (mixed $type)
void set_zone (mixed $zone)
void update_to_db ()
Methods
Constructor __construct (line 23)

Initializes attributes

  • access: public
School __construct ([mixed $arr = array()])
Destructor __destruct (line 38)
  • access: public
void __destruct ()
free (line 94)

Deletes its self from database

  • access: public
void free ()
get_as_arr (line 82)

Returns own data as array

  • access: public
void get_as_arr ()
get_id (line 46)
  • access: public
void get_id ()
get_name (line 42)
  • access: public
void get_name ()
get_type (line 54)
  • access: public
void get_type ()
get_zone_id (line 50)
  • access: public
void get_zone_id ()
insert_new_to_db (line 107)

Inserts its self to database

  • access: public
void insert_new_to_db ()
set_name (line 58)
  • access: public
void set_name (mixed $nam)
set_type (line 62)
  • access: public
void set_type (mixed $type)
set_zone (line 66)
  • access: public
void set_zone (mixed $zone)
update_to_db (line 73)

Updates own data to database

  • access: public
void update_to_db ()

Inherited Methods

Inherited From Base

Base::make_query()

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