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

Class: Load

Source Location: /Load.php

Class Overview


Loads topics from IS to local database


Variables

Methods



Class Details

[line 9]
Loads topics from IS to local database



[ Top ]


Class Variables

$packages =

[line 22]

Array of packages id



Tags:

access:  protected

Type:   array


[ Top ]

$relations =

[line 16]

Array of relations id (supervisor, opponent, ...)



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


constructor __construct [line 25]

Load __construct( )



Tags:

access:  public


[ Top ]

method getCheckboxValue [line 176]

integer getCheckboxValue( $value $value)

Returns integer value of checkbox value



Tags:

access:  protected


Parameters:

$value   $value  

[ Top ]

method getPackagesId [line 197]

integer getPackagesId( $is_id $is_id)

Returns packages id from is id



Tags:

access:  protected


Parameters:

$is_id   $is_id  

[ Top ]

method getRelationsId [line 187]

integer getRelationsId( $is_id $is_id)

Returns relations id from is id



Tags:

access:  protected


Parameters:

$is_id   $is_id  

[ Top ]

method loadTopics [line 44]

void loadTopics( )

Main function that loads topics from IS to local database



Tags:

access:  public


[ Top ]

method saveTopic [line 83]

void saveTopic( $content $content, $students $students, $package_id $package_id, $topic_id $topic_id)

Saves loaded topic to database



Tags:

access:  public


Parameters:

$content   $content   loaded data
$students   $students   loaded data
$package_id   $package_id   id of topics package
$topic_id   $topic_id   topics is id

[ Top ]


Documentation generated on Sat, 22 May 2010 23:40:53 +0200 by phpDocumentor 1.4.1