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

Public Member Functions

 StudipRangeTree ($args)
 init ()
 initEntries ()
 getAdminRange ($item_id)
 getNextLink ($item_id)
 getSemIds ($item_id, $ids_from_kids=false)
 getNumEntries ($item_id, $num_entries_from_kids=false)
 InsertItem ($item_id, $parent_id, $item_name, $priority, $studip_object, $studip_object_id)
 UpdateItem ($item_name, $studip_object, $studip_object_id, $item_id)
 DeleteItems ($items_to_delete)
- Public Member Functions inherited from TreeAbstract
 TreeAbstract ()
 storeItem ($item_id, $parent_id, $name, $priority)
 buildIndex ($item_id=false)
 getKids ($item_id)
 getNumKids ($item_id)
 getKidsKids ($item_id, $in_recursion=false)
 getNumKidsKids ($item_id, $in_recursion=false)
 isLastKid ($item_id)
 isFirstKid ($item_id)
 isChildOf ($ancestor_id, $item_id)
 hasKids ($item_id)
 getItemPath ($item_id)
 getParents ($item_id)
 getShortPath ($item_id, $depth=false, $delimeter=">")
 getMaxPriority ($parent_id)
 getNumEntriesKids ($item_id, $in_recursion=false)
 getValue ($item_id, $field)

Data Fields

 $sem_number
 $sem_status
 $sem_dates
- Data Fields inherited from TreeAbstract
 $root_name
 $view
 $tree_data = array()
 $tree_childs = array()
 $tree_num_childs = array()
 $index_offset = 0

Additional Inherited Members

- Static Public Member Functions inherited from TreeAbstract
 GetInstance ($class_name, $args=null, $invalidate_cache=false)

Member Function Documentation

DeleteItems (   $items_to_delete)
getAdminRange (   $item_id)

Returns Stud.IP range_id of the next "real" object

This function finds the next item wich is a real Stud.IP Object, either an "Einrichtung" or a "Fakultaet"
useful for the user rights management public

Parameters
string$item_id
Returns
array of primary keys from table "institute"

Here is the call graph for this function:

getNextLink (   $item_id)

returns the next item_id upwards the tree which is a Stud.IP object

help function for getAdminRange()

private

Parameters
string$item_id
Returns
string

Here is the caller graph for this function:

getNumEntries (   $item_id,
  $num_entries_from_kids = false 
)

Reimplemented from TreeAbstract.

Here is the call graph for this function:

getSemIds (   $item_id,
  $ids_from_kids = false 
)

Here is the call graph for this function:

init ( )

initializes the tree

stores all rows from table range_tree in array $tree_data public

Reimplemented from TreeAbstract.

Here is the call graph for this function:

initEntries ( )

Here is the caller graph for this function:

InsertItem (   $item_id,
  $parent_id,
  $item_name,
  $priority,
  $studip_object,
  $studip_object_id 
)
StudipRangeTree (   $args)

constructor

do not use directly, call TreeAbstract::GetInstance("StudipRangeTree") private

Here is the call graph for this function:

UpdateItem (   $item_name,
  $studip_object,
  $studip_object_id,
  $item_id 
)

Field Documentation

$sem_dates
$sem_status

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