Class Lpaths

Description

Controls many lpath objects

Located in /mod_lpaths.php (line 18)

Base
   |
   --Lpaths
Method Summary
Lpaths __construct ([mixed $student_id = null], [mixed $mod_name = "Opinpolkusi"])
void __destruct ()
void free ()
void get_add_stuff ()
void get_course_signal (mixed $com)
void get_lpath_signal (mixed $com)
void get_visible ()
void set_user_id (mixed $user_id)
void set_visible (mixed $v)
void start ()
void to_ascii ()
void view ()
void writeout_navi ()
Methods
Constructor __construct (line 53)

Initializes attributes

  • access: public
Lpaths __construct ([mixed $student_id = null], [mixed $mod_name = "Opinpolkusi"])
Destructor __destruct (line 95)
  • access: public
void __destruct ()
free (line 304)

Deletes this object from database

  • access: public
void free ()
get_add_stuff (line 537)

Returns string html image-element if image exists.

  • access: public
void get_add_stuff ()
get_course_signal (line 212)

Returns unique signal for editing courses in lpaths:

  • add: adds course to selected lpath. Selected Lpath is specified in get_lpath_signal(sel)
  • rem: removes course from selected lpath. Selected Lpath is specified in get_lpath_signal(id)

  • access: public
void get_course_signal (mixed $com)
get_lpath_signal (line 193)

Returns unique signal for editing lpaths:

  • add: makes new lpath-object
  • rem: removes lpath-object
  • edit: edits lpath-name
  • choose: sets-chosen lpath object (only for noscript)

  • access: public
void get_lpath_signal (mixed $com)
get_visible (line 165)
  • access: public
void get_visible ()
set_user_id (line 151)

When user-id is set, new lpath-objects will be created

  • access: public
void set_user_id (mixed $user_id)
set_visible (line 160)

Sets visibility of module

  • access: public
void set_visible (mixed $v)
start (line 106)

Handels signals Handels POST-variables.

void start ()
to_ascii (line 496)

Returns ascii-formated text of lpath content

  • access: public
void to_ascii ()
view (line 470)

Controls contentarea views

  • access: public
void view ()
writeout_navi (line 320)

Function writeouts navibar

  • access: public
void writeout_navi ()

Inherited Methods

Inherited From Base

Base::make_query()

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