Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudycourseModel Class Reference
Collaboration diagram for StudycourseModel:
Collaboration graph

Static Public Member Functions

static getStudyCourses ($sci=NULL)
static getStudyDegrees ($sdi=NULL)
static deleteStudyCourse ($prof_id)
static deleteStudyDegree ($deg_id)
static getStudyCourseInfo ($prof_id=NULL)
static getStudyDegreeInfo ($deg_id=NULL)
static saveNewProfession ($prof_name, $prof_desc)
static saveNewDegree ($deg_name, $deg_desc)
static checkProfession ($prof_name)
static checkDegree ($deg_name)
static saveEditProfession ($prof_id, $prof_name, $prof_desc)
static saveEditDegree ($deg_id, $deg_name, $deg_desc)

Detailed Description

Member Function Documentation

static checkDegree (   $deg_name)
static

Check, if the degree already exists

Parameters
$prof_name
Returns
bool true, if exists

Here is the call graph for this function:

Here is the caller graph for this function:

static checkProfession (   $prof_name)
static

Check, if the profession already exists

Parameters
string$prof_name
Returns
bool true, if exists

Here is the call graph for this function:

Here is the caller graph for this function:

static deleteStudyCourse (   $prof_id)
static

Delete a profession

Parameters
md5$prof_id
Returns
int the number of deletet rows

Here is the call graph for this function:

Here is the caller graph for this function:

static deleteStudyDegree (   $deg_id)
static

Delete a degree

Parameters
md5$deg_id
Returns
int the number of deletet rows

Here is the call graph for this function:

Here is the caller graph for this function:

static getStudyCourseInfo (   $prof_id = NULL)
static

Get infos about the profession

Parameters
md5$prof_id
Returns
array() profession

Here is the call graph for this function:

Here is the caller graph for this function:

static getStudyCourses (   $sci = NULL)
static

Get all course of study (profession with all degrees) (if $sci == null) Get one course of study (one profession with all degrees) (if $sci != null)

Parameters
md5$sciid of a studiengang
Returns
array() list of courses

Here is the call graph for this function:

Here is the caller graph for this function:

static getStudyDegreeInfo (   $deg_id = NULL)
static

Get infos about the degree

Parameters
md5$deg_id
Returns
array() degree

Here is the call graph for this function:

Here is the caller graph for this function:

static getStudyDegrees (   $sdi = NULL)
static

Get all degrees (degrees with all profession) (if $sdi == null) Get one degree (one degree with all profession) (if $sdi != null)

Parameters
md5$sdi
Returns
array() list of studydegrees

Here is the call graph for this function:

Here is the caller graph for this function:

static saveEditDegree (   $deg_id,
  $deg_name,
  $deg_desc 
)
static

Save changes of the degree

Parameters
md5$deg_id
string$deg_name
string$deg_desc

Here is the call graph for this function:

Here is the caller graph for this function:

static saveEditProfession (   $prof_id,
  $prof_name,
  $prof_desc 
)
static

Save changes of the profession

Parameters
md5$prof_id
string$prof_name
string$prof_desc

Here is the call graph for this function:

Here is the caller graph for this function:

static saveNewDegree (   $deg_name,
  $deg_desc 
)
static

Create a new degree

Parameters
string$deg_namenew name of the degree
string$deg_descnew description of the degree

Here is the call graph for this function:

Here is the caller graph for this function:

static saveNewProfession (   $prof_name,
  $prof_desc 
)
static

Create a new profession

Parameters
string$prof_namenew name of the profession
string$prof_descnew description of the profession [optional]

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: